forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcom.chunqiu.ah.ts
121 lines (120 loc) · 3.25 KB
/
com.chunqiu.ah.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.chunqiu.ah',
name: 'AH视频',
groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
quickFind: true,
rules: [
{
matches: '[text^="跳过"][text.length<10]',
snapshotUrls: [
'https://i.gkd.li/import/13264387',
'https://i.gkd.li/import/13264381',
],
},
{
matches: '@ImageView - [text="|"]',
snapshotUrls: 'https://i.gkd.li/import/13264377',
},
],
},
{
key: 1,
name: '全屏广告-弹窗广告',
quickFind: true,
activityIds: 'com.androlua.LuaActivity',
rules: [
{
matches: '@FrameLayout - FrameLayout >2 [text="京东"]',
snapshotUrls: 'https://i.gkd.li/import/13264383',
},
],
},
{
key: 2,
name: '局部广告-卡片式广告',
rules: [
{
key: 0,
name: '腾讯广告',
activityIds: 'com.androlua.LuaActivity',
matches:
'ImageView < FrameLayout -2 FrameLayout > FrameLayout[childCount=1] > ImageView[childCount=0]',
snapshotUrls: 'https://i.gkd.li/import/13635499',
},
],
},
{
key: 3,
quickFind: true,
name: '全屏广告-首页推广',
desc: '点击我已知晓',
rules: [
{
activityIds: 'com.androlua.LuaActivity',
matches:
'[id="com.chunqiu.ah:id/buttonPanel"] [text="我已知晓"][id="android:id/button2"]',
snapshotUrls: 'https://i.gkd.li/import/13852430',
},
],
},
{
key: 4,
quickFind: true,
name: '全屏广告-公告',
desc: '点击不再提示',
rules: [
{
activityIds: 'com.androlua.LuaActivity',
matches: '[id="com.chunqiu.ah:id/buttonPanel"] [text="不再提示"]',
snapshotUrls: 'https://i.gkd.li/import/13852447',
},
],
},
{
key: 5,
quickFind: true,
name: '全屏广告-首页广告弹窗',
desc: '点击X',
rules: [
{
activityIds: 'com.androlua.LuaActivity',
matches:
'@ImageView[visibleToUser=true] < * +3 * > [text="查看详情"]',
snapshotUrls: 'https://i.gkd.li/import/13852448',
},
],
},
{
key: 6,
name: '局部广告-播放界面广告',
desc: '点击X',
rules: [
{
key: 0,
activityIds: 'com.androlua.LuaActivity',
matches:
'[id="com.chunqiu.ah:id/ksad_container"] >n View[id="logoBox"] > TextView[clickable=true]',
snapshotUrls: 'https://i.gkd.li/import/13852535',
},
{
key: 1,
activityIds: 'com.androlua.LuaActivity',
matches:
'[id="android:id/content"] FrameLayout[childCount<=5] > FrameLayout[childCount=1] > ImageView[visibleToUser=true][index=0]',
snapshotUrls: [
'https://i.gkd.li/import/13852695',
'https://i.gkd.li/import/13852670',
'https://i.gkd.li/import/13852669',
],
},
],
},
],
});