@@ -26,55 +26,6 @@ export default defineGkdApp({
26
26
key : 1 ,
27
27
name : '局部广告-关闭用户推荐' ,
28
28
rules : [
29
- {
30
- key : 0 ,
31
- activityIds : 'com.ss.android.ugc.aweme.main.MainActivity' ,
32
- matches :
33
- '[text="换一个"] - FrameLayout[clickable=true] > ImageView[clickable=true]' ,
34
- snapshotUrls : 'https://i.gkd.li/i/12520943' ,
35
- } ,
36
- {
37
- preKeys : 0 ,
38
- key : 1 ,
39
- activityIds : 'com.ss.android.ugc.aweme.main.MainActivity' ,
40
- matches :
41
- '[id="com.ss.android.ugc.aweme:id/desc"][text="减少此类推荐"]' ,
42
- snapshotUrls : 'https://i.gkd.li/i/12520962' ,
43
- } ,
44
- {
45
- key : 2 ,
46
- activityIds : 'com.ss.android.ugc.aweme.main.MainActivity' ,
47
- matches :
48
- '[text="你可能感兴趣"] < LinearLayout + [text="隐藏"][clickable=true]' ,
49
- snapshotUrls : 'https://i.gkd.li/i/12675396' ,
50
- } ,
51
- {
52
- key : 3 ,
53
- activityIds : 'com.ss.android.ugc.aweme.main.MainActivity' ,
54
- matches : '[text="朋友推荐"] +(2) @FrameLayout > [desc="不感兴趣"]' ,
55
- snapshotUrls : 'https://i.gkd.li/i/12675129' ,
56
- } ,
57
- {
58
- key : 4 ,
59
- activityIds :
60
- 'com.ss.android.ugc.aweme.friends.ui.RawAddFriendsActivity' ,
61
- matches :
62
- '[text="朋友推荐"] < LinearLayout + FrameLayout > [desc="关闭"][clickable=true]' ,
63
- snapshotUrls : 'https://i.gkd.li/i/12675245' ,
64
- } ,
65
- {
66
- key : 5 ,
67
- activityIds : [
68
- 'com.ss.android.ugc.aweme.main.MainActivity' ,
69
- 'com.miui.home.launcher.Launcher' ,
70
- ] ,
71
- matches :
72
- '[text="朋友推荐"] +2 [id="com.ss.android.ugc.aweme:id/close"]' ,
73
- snapshotUrls : [
74
- 'https://i.gkd.li/i/12525387' ,
75
- 'https://i.gkd.li/i/12525389' ,
76
- ] ,
77
- } ,
78
29
{
79
30
key : 6 ,
80
31
fastQuery : true ,
@@ -102,33 +53,6 @@ export default defineGkdApp({
102
53
} ,
103
54
] ,
104
55
} ,
105
- {
106
- key : 4 ,
107
- name : '局部广告-首页左上角广告' ,
108
- rules : [
109
- {
110
- activityIds : 'com.ss.android.ugc.aweme.main.MainActivity' ,
111
- matches :
112
- 'ViewGroup + FrameLayout[id=null] > FrameLayout[childCount=2][id!=null] > ImageView[desc="关闭"][clickable=true][id!=null]' ,
113
- snapshotUrls : 'https://i.gkd.li/i/12749276' ,
114
- } ,
115
- ] ,
116
- } ,
117
- {
118
- key : 6 ,
119
- name : '评价提示-去商店评分' ,
120
- desc : '点击[取消]' ,
121
- fastQuery : true ,
122
- actionMaximum : 1 ,
123
- resetMatch : 'app' ,
124
- rules : [
125
- {
126
- activityIds : '.main.MainActivity' ,
127
- matches : '@[text="取消"] +2 [text="五星好评"]' ,
128
- snapshotUrls : 'https://i.gkd.li/i/13053628' ,
129
- } ,
130
- ] ,
131
- } ,
132
56
{
133
57
key : 7 ,
134
58
name : '功能类-设置无声进入抖音弹窗' ,
@@ -169,39 +93,34 @@ export default defineGkdApp({
169
93
key : 11 ,
170
94
name : '功能类-自动勾选原图' ,
171
95
desc : '聊天发送图片时自动勾选原图' ,
96
+ actionMaximum : 1 ,
172
97
rules : [
173
98
{
174
99
fastQuery : true ,
175
100
activityIds :
176
- 'com.ss.android.ugc.aweme.im.sdk.media.choose.MediaChooseActivity' ,
177
- matches : '[text="原图"][desc="未选中/复选框 原图"]' ,
101
+ '.ecommerce.im.choosemedia.ECommerceIMMediaChooseActivity' ,
102
+ matches :
103
+ '@ImageView[clickable=true][visibleToUser=true] + [text="原图"]' ,
178
104
snapshotUrls : [
179
- 'https://i.gkd.li/i/12846036 ' , // 未选中
180
- 'https://i.gkd.li/i/12846040 ' , // 已选中
105
+ 'https://i.gkd.li/i/18637952 ' , // 未选中
106
+ 'https://i.gkd.li/i/18637948 ' , // 已选中
181
107
] ,
182
108
} ,
183
109
] ,
184
110
} ,
185
111
{
186
112
key : 12 ,
187
- name : '全屏广告 -休息提醒' ,
113
+ name : '其他 -休息提醒' ,
188
114
fastQuery : true ,
189
115
rules : [
190
116
{
191
117
key : 1 ,
192
118
matches : '@[text="取消"] + [text*="提醒我"]' ,
193
119
snapshotUrls : [
194
120
'https://i.gkd.li/i/13241564' ,
195
- 'https://i.gkd.li/i/13372604' ,
196
121
'https://i.gkd.li/i/14160675' ,
197
122
] ,
198
123
} ,
199
- {
200
- key : 2 ,
201
- activityIds : '.main.MainActivity' ,
202
- matches : '[text="管理使用时间"] + Button[text="忽略提醒"]' ,
203
- snapshotUrls : 'https://i.gkd.li/i/13372725' ,
204
- } ,
205
124
] ,
206
125
} ,
207
126
{
@@ -211,15 +130,6 @@ export default defineGkdApp({
211
130
actionMaximum : 1 ,
212
131
resetMatch : 'app' ,
213
132
rules : [
214
- {
215
- key : 0 ,
216
- name : '搜索快捷方式' ,
217
- activityIds :
218
- 'com.ss.android.ugc.aweme.search.activity.SearchResultActivity' ,
219
- action : 'back' ,
220
- matches : 'ViewGroup[desc="添加搜索到桌面"]' ,
221
- snapshotUrls : 'https://i.gkd.li/i/13338556' ,
222
- } ,
223
133
{
224
134
key : 1 ,
225
135
name : '商城快捷方式' ,
@@ -264,7 +174,7 @@ export default defineGkdApp({
264
174
fastQuery : true ,
265
175
activityIds : 'com.ss.android.ugc.aweme.main.MainActivity' ,
266
176
matches :
267
- 'FrameLayout > @[desc="关闭"] + ViewGroup > [text$="打个招呼"]' ,
177
+ '@[desc="关闭"] + ViewGroup > [text$="打个招呼"][visibleToUser=true ]' ,
268
178
snapshotUrls : 'https://i.gkd.li/i/13379307' ,
269
179
} ,
270
180
] ,
@@ -372,12 +282,13 @@ export default defineGkdApp({
372
282
excludeActivityIds : '.setting.ui.SettingCommonProtocolActivity' ,
373
283
matches : [
374
284
'[text*="青少年" || text*="未成年"][text*="模式"]' ,
375
- '[text="关闭"]' ,
285
+ '[text="关闭" || text="不再提醒" ]' ,
376
286
] ,
377
287
snapshotUrls : [
378
288
'https://i.gkd.li/i/14321107' ,
379
289
'https://i.gkd.li/i/14473006' ,
380
290
'https://i.gkd.li/i/17726070' ,
291
+ 'https://i.gkd.li/i/18638030' ,
381
292
] ,
382
293
excludeSnapshotUrls : [
383
294
'https://i.gkd.li/i/14917848' ,
0 commit comments