forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
org.gushiwen.gushiwen.ts
81 lines (79 loc) · 2.6 KB
/
org.gushiwen.gushiwen.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
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'org.gushiwen.gushiwen',
name: '古诗文网',
groups: [
{
key: 1,
name: '应用内广告弹窗',
rules: [
{
actionDelay: 500,
key: 0,
activityIds: 'org.gushiwen.gushiwen.HomeActivity',
matches:
'@[width>1 && width<65] < FrameLayout - [name="android.widget.ImageView"||name="android.widget.FrameLayout"||name="android.widget.LinearLayout"]',
snapshotUrls: [
'https://i.gkd.li/import/12813618',
'https://i.gkd.li/import/12903835',
'https://i.gkd.li/import/12903885',
'https://i.gkd.li/import/12876077',
'https://i.gkd.li/import/13059294',
],
},
{
actionDelay: 500,
key: 1,
activityIds: [
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
],
matches: '@Image < View[width<100] <n View > [text="反馈"]',
snapshotUrls: [
'https://i.gkd.li/import/12837225',
'https://i.gkd.li/import/12876086',
'https://i.gkd.li/import/12876067',
'https://i.gkd.li/import/12837225',
'https://i.gkd.li/import/12912911',
'https://i.gkd.li/import/13171930',
],
},
{
actionDelay: 500,
key: 2,
activityIds: 'org.gushiwen.gushiwen.HomeActivity',
matches:
'@FrameLayout +2 FrameLayout > LinearLayout > LinearLayout > [text^="摇动"]',
snapshotUrls: ['https://i.gkd.li/import/13266879'],
},
{
preKeys: [0, 1, 2],
key: 10,
name: '打赏页面-点击返回按钮',
activityIds: [
'local.z.androidshared.vip.RewardActivity',
'local.z.androidshared.pay.RewardActivity',
],
matches: '[id="org.gushiwen.gushiwen:id/btn_back"]',
snapshotUrls: [
'https://i.gkd.li/import/12813638',
'https://i.gkd.li/import/13111042',
],
},
{
preKeys: [0, 1, 2],
key: 11,
name: '荣誉会员-点击返回按钮',
activityIds: [
'local.z.androidshared.vip.member.VipActivity',
'local.z.androidshared.pay.vip.VipActivity',
],
matches: '[id="org.gushiwen.gushiwen:id/backBtn"]',
snapshotUrls: [
'https://i.gkd.li/import/12837229',
'https://i.gkd.li/import/13111057',
],
},
],
},
],
});