@@ -17,23 +17,20 @@ export default defineGkdApp({
17
17
key : 1 ,
18
18
fastQuery : true ,
19
19
matches :
20
- '@ImageView[childCount=0][clickable=true][visibleToUser=true] - LinearLayout >(2,3) [text="广告" || text="立享优惠"]' ,
20
+ '@ImageView[childCount=0][clickable=true][visibleToUser=true] - LinearLayout >(2,3) [text="广告" || text="立享优惠" || text*="查看"][text.length<5 ]' ,
21
21
snapshotUrls : [
22
22
'https://i.gkd.li/i/12908734' ,
23
+ 'https://i.gkd.li/i/14540281' ,
23
24
'https://i.gkd.li/i/18138903' ,
24
25
] ,
25
26
} ,
26
27
{
27
28
key : 2 ,
28
- matches :
29
- 'HorizontalAndVerticalScrollView > FrameLayout[childCount=14] > [index=9] >5 ImageView[clickable=true]' ,
30
- exampleUrls :
31
- 'https://m.gkd.li/57941037/d2f7c62c-be88-4668-b276-68bb53edfaad' ,
32
- snapshotUrls : [
33
- 'https://i.gkd.li/i/14193836' ,
34
- 'https://i.gkd.li/i/13520314' ,
35
- 'https://i.gkd.li/i/12908734' ,
36
- ] ,
29
+ fastQuery : true ,
30
+ activityIds : '.reader.ui.ReaderActivity' ,
31
+ matches : '[id="com.dragon.read:id/close_button"][visibleToUser=true]' ,
32
+ exampleUrls : 'https://e.gkd.li/3de0d5d9-0c02-4fe7-b5e8-b9fdb6688f8e' ,
33
+ snapshotUrls : 'https://i.gkd.li/i/13520314' ,
37
34
} ,
38
35
{
39
36
key : 3 ,
@@ -55,6 +52,18 @@ export default defineGkdApp({
55
52
'https://i.gkd.li/i/14810480' ,
56
53
] ,
57
54
} ,
55
+ {
56
+ key : 5 ,
57
+ fastQuery : true ,
58
+ activityIds : '.reader.ui.ReaderActivity' ,
59
+ matches :
60
+ '@[clickable=true] >(1,2) [text="继续阅读下一页"][visibleToUser=true]' ,
61
+ exampleUrls : 'https://e.gkd.li/b571222b-4ac1-4ba8-9a2c-4439c531d6e4' ,
62
+ snapshotUrls : [
63
+ 'https://i.gkd.li/i/13674556' ,
64
+ 'https://i.gkd.li/i/13843155' ,
65
+ ] ,
66
+ } ,
58
67
] ,
59
68
} ,
60
69
{
@@ -78,17 +87,18 @@ export default defineGkdApp({
78
87
{
79
88
key : 2 ,
80
89
name : '局部广告-首页右侧悬浮广告' ,
81
- activityIds : [
82
- 'com.dragon.read.pages.main.MainFragmentActivity' ,
83
- 'com.dragon.read.ad.openingscreenad.OpeningScreenADActivity' ,
84
- ] ,
85
90
rules : [
86
91
{
92
+ fastQuery : true ,
93
+ activityIds : [
94
+ 'com.dragon.read.pages.main.MainFragmentActivity' ,
95
+ 'com.dragon.read.ad.openingscreenad.OpeningScreenADActivity' ,
96
+ ] ,
87
97
matches :
88
- '[id="android:id/content"] > FrameLayout [childCount=1] > RelativeLayout [childCount=1] >2 ImageView [id!=null][clickable=true ]' ,
98
+ '@ImageView[clickable=true] [childCount=0][index=0][visibleToUser=true] < [childCount=3] < RelativeLayout < FrameLayout <2 [id="android:id/content"][childCount=3 ]' ,
89
99
snapshotUrls : [
90
- 'https://i.gkd.li/i/12716506' , //relativeLayout和ImageView之间是RelativeLayoutRelativeLayout
91
- 'https://i.gkd.li/i/13318796' , //relativeLayout和ImageView之间是ViewGroup
100
+ 'https://i.gkd.li/i/12716506' ,
101
+ 'https://i.gkd.li/i/13318796' ,
92
102
] ,
93
103
} ,
94
104
] ,
@@ -157,16 +167,6 @@ export default defineGkdApp({
157
167
fastQuery : true ,
158
168
activityIds : 'com.dragon.read.reader.ui.ReaderActivity' ,
159
169
rules : [
160
- {
161
- key : 2 ,
162
- name : '点击[继续阅读下一页]' ,
163
- order : - 1 ,
164
- matches : '[text="继续阅读下一页"]' ,
165
- snapshotUrls : [
166
- 'https://i.gkd.li/i/13674556' ,
167
- 'https://i.gkd.li/i/13843155' ,
168
- ] ,
169
- } ,
170
170
{
171
171
key : 0 ,
172
172
name : '点击[反馈]按钮' ,
@@ -177,15 +177,23 @@ export default defineGkdApp({
177
177
] ,
178
178
} ,
179
179
{
180
- preKeys : 0 ,
180
+ key : 3 ,
181
+ matches :
182
+ '@ImageView[clickable=true][childCount=0][visibleToUser=true] < FrameLayout - LinearLayout >2 [text="广告"]' ,
183
+ exampleUrls : 'https://e.gkd.li/c172db67-a489-488b-a5f5-35aa9657c444' ,
184
+ snapshotUrls : 'https://i.gkd.li/i/18724040' ,
185
+ } ,
186
+ {
187
+ preKeys : [ 0 , 3 ] ,
181
188
key : 1 ,
182
- name : '点击[不感兴趣]' ,
183
- matches : '[text="不感兴趣"]' ,
189
+ name : '点击[不感兴趣]/[关闭此广告] ' ,
190
+ matches : '[text="不感兴趣" || text="关闭此广告" ]' ,
184
191
snapshotUrls : [
185
192
'https://i.gkd.li/i/13520219' ,
186
193
'https://i.gkd.li/i/13674550' ,
187
194
'https://i.gkd.li/i/13816454' ,
188
195
'https://i.gkd.li/i/14913207' ,
196
+ 'https://i.gkd.li/i/18724041' ,
189
197
] ,
190
198
} ,
191
199
] ,
0 commit comments