forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.gotokeep.keep.ts
74 lines (73 loc) · 2.17 KB
/
com.gotokeep.keep.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
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.gotokeep.keep',
name: 'Keep',
groups: [
{
key: 1,
name: '青少年模式弹窗',
actionMaximum: 1,
resetMatch: 'app',
quickFind: true,
rules: '[text$="未成年人模式"] +2 @[clickable=true] > [text="我知道了"]',
snapshotUrls: 'https://i.gkd.li/import/12706097',
},
{
key: 2,
name: '首页广告弹窗',
rules: [
{
key: 0,
activityIds:
'com.gotokeep.keep.refactor.business.main.activity.MainActivity',
matches:
'[id="com.gotokeep.keep:id/layoutLottie"] +(1,2) [id="com.gotokeep.keep:id/imgCloseHomePageDialog"]',
snapshotUrls: [
'https://i.gkd.li/import/12706102',
'https://i.gkd.li/import/13761641',
],
},
],
},
{
key: 3,
name: '首页信息流广告',
activityIds:
'com.gotokeep.keep.refactor.business.main.activity.MainActivity',
rules:
'[id="com.gotokeep.keep:id/textAdTag"] + [id="com.gotokeep.keep:id/imgClose"]',
snapshotUrls: 'https://i.gkd.li/import/12706115',
},
{
key: 4,
name: '运动购页面-广告弹窗',
rules: [
{
key: 0,
activityIds:
'com.gotokeep.keep.refactor.business.main.activity.MainActivity',
matches:
'ImageView + LinearLayout > ImageView[id=null][clickable=true]',
snapshotUrls: 'https://i.gkd.li/import/12706111',
},
{
key: 1,
activityIds:
'com.gotokeep.keep.refactor.business.main.activity.MainActivity',
matches:
'[id="com.gotokeep.keep:id/contentContainer"] + [id="com.gotokeep.keep:id/closeImageView"]',
snapshotUrls: 'https://i.gkd.li/import/13766358',
},
],
},
{
key: 5,
name: '请求开启通知权限弹窗',
actionMaximum: 1,
resetMatch: 'app',
quickFind: true,
rules: '@[text="暂不开启"] +2 [text="开启通知权限"]',
snapshotUrls: 'https://i.gkd.li/import/13761671',
},
],
});