forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcom.taptap.ts
More file actions
34 lines (33 loc) · 1.07 KB
/
com.taptap.ts
File metadata and controls
34 lines (33 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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://gkd-kit.gitee.io/import/12864810', //需避免点击正常情况下的app menu
],
},
{
key: 1,
activityIds:
'com.taptap.game.discovery.impl.findgame.allgame.dialog.FindGameMenuDialog',
matches: '@LinearLayout > [text="对此内容不感兴趣"]',
snapshotUrls: 'https://i.gkd.li/import/12840904',
},
],
},
],
});