forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.qidian.QDReader.ts
57 lines (56 loc) · 1.87 KB
/
com.qidian.QDReader.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
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.qidian.QDReader',
name: '起点读书',
groups: [
{
key: 0,
name: '开屏广告',
activityIds: [
'com.qidian.QDReader.ui.activity.SplashADActivity',
'com.qidian.QDReader.ui.activity.SplashImageActivity',
],
rules: 'Button[text^=`跳过`]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12508836'],
},
{
key: 1,
name: '更新弹窗',
activityIds: ['com.qidian.QDReader.framework.widget.dialog.judian'],
rules:
'TextView[text$="新版本"] +(2) RelativeLayout >(4) TextView[text="以后再说"]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12641026'],
},
{
key: 2,
name: '青少年模式弹窗',
activityIds: ['com.qidian.QDReader.bll.helper.z0'],
rules:
'[text$="青少年模式"] < [id="com.qidian.QDReader:id/btnEnterTeen"] + [id="com.qidian.QDReader:id/btnCancel"] >(2) [text="我知道了"]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12640241'],
},
{
key: 3,
name: '活动弹窗',
activityIds: [
'com.qidian.QDReader.ui.activity.MainGroupActivity',
'com.tencent.mm.plugin.webview.ui.tools.SDKOAuthUI',
],
rules:
'[id="com.qidian.QDReader:id/imgBKT"] + [id="com.qidian.QDReader:id/imgClose"]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12640195',
'https://gkd-kit.gitee.io/import/12640158',
],
},
{
enable: false,
key: 4,
name: '系统推送提示信息',
desc: '点击顶部提醒左侧x按钮',
activityIds: ['com.afollestad.materialdialogs.MaterialDialog'],
rules: '@[id="com.qidian.QDReader:id/ivClose"] + [text^="开启推送"]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12640242'],
},
],
});