forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathair.tv.douyu.android.ts
85 lines (84 loc) · 2.55 KB
/
air.tv.douyu.android.ts
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'air.tv.douyu.android',
name: '斗鱼',
groups: [
{
key: 0,
name: '开屏广告',
activityIds: [
'com.douyu.module.home.pages.main.MainActivity',
'com.douyu.module.ad.launch.HotStartSplashActivity',
],
rules: [
{
matches:
'@TextView[text^=\'跳过\'] + LinearLayout TextView[text*="跳转"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12893916',
},
'[text^="跳过"] + * >2 TextView[text*=\'跳转\']', // 1686970245243, 1686970188866
],
},
{
key: 1,
name: '青少年模式',
desc: '关闭青少年模式提醒弹窗',
activityIds: [
'com.douyu.module.young.view.YoungModeGuideDialog',
'com.douyu.module.home.pages.main.MainActivity',
],
snapshotUrls: 'https://gkd-kit.gitee.io/import/12472598',
rules: [
'[text="开启青少年模式"] + [text=\'我知道了\']', // 1686970236642
],
},
{
key: 2,
name: '新版本弹窗',
activityIds: [
'com.douyu.module.update.view.UpdateDialog',
'com.douyu.module.home.pages.main.MainActivity',
],
rules: '[text="立即升级"] - [text="忽略"][clickable=true]',
},
{
key: 3,
name: '直播间广告',
activityIds: 'tv.douyu.view.activity.PlayerActivity',
rules: [
{
key: 0,
matches:
'ImageView < ViewGroup + @ViewGroup[childCount=1] > ImageView', //添加childCount=1避免【全屏播放-设置】误触
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12892825',
'https://gkd-kit.gitee.io/import/13037239',
],
},
{
key: 1,
matches: 'ViewPager + @View + ImageView + View',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12892825',
},
{
key: 2,
matches:
'RelativeLayout[childCount=3] > ViewPager + @View + ImageView',
snapshotUrls: 'https://i.gkd.li/import/13056107',
},
{
key: 3,
matches:
'ViewGroup[childCount=4] > View + ImageView + FrameLayout + ImageView',
snapshotUrls: 'https://i.gkd.li/import/13056107',
},
{
key: 4,
matches:
'FrameLayout[childCount=2] > @ImageView - FrameLayout > RelativeLayout > WebView',
snapshotUrls: 'https://i.gkd.li/import/13056107',
},
],
},
],
});