forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
air.tv.douyu.android.ts
48 lines (47 loc) · 1.42 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
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/38517192/50c858ee-d331-4d5a-b5db-5eb17323c5ff',
},
'[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/38517192/1c081a65-688a-406b-b67b-9bfb9aba0fad',
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]',
},
],
});