mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-24 02:35:25 +08:00
40 lines
1.2 KiB
TypeScript
40 lines
1.2 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.taptap',
|
|
name: 'TapTap',
|
|
groups: [
|
|
{
|
|
key: 2,
|
|
name: '游戏浏览界面-推荐广告',
|
|
desc: '自动点击【对此内容不感兴趣】',
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
activityIds: 'com.taptap.other.basic.impl.TapMainActivity',
|
|
matchLauncher: true,
|
|
matches:
|
|
'[id="com.taptap.app.middle:id/decision_layout_mask"] + @[id="com.taptap.app.game:id/app_menu"][visibleToUser=true]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/import/12840903',
|
|
'https://i.gkd.li/import/12842279',
|
|
'https://i.gkd.li/import/12864810', //需避免点击正常情况下的app menu
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
activityIds: [
|
|
'com.taptap.game.discovery.impl.findgame.allgame.dialog.FindGameMenuDialog',
|
|
'com.taptap.other.basic.impl.TapMainActivity',
|
|
],
|
|
matches: '@LinearLayout > [text="对此内容不感兴趣"]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/import/12840904',
|
|
'https://i.gkd.li/import/13258679', //other.basic.impl.TapMainActivity
|
|
],
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|