Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions src/apps/com.lucky.luckyclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,20 @@ export default defineGkdApp({
},
],
},
{
key: 4,
name: '全屏广告-添加瑞幸幸运官',
desc: '匹配93x93关闭按钮,点击后执行返回键关闭添加瑞幸幸运官弹窗',
matchTime: 15000,
actionMaximum: 1,
rules: [
{
activityIds: 'com.lucky.luckincoffee.MainActivity',
matches:
'@Image[width=93][height=93][visibleToUser=true] <<n [vid="webview_dialog"]',
action: 'back',
},
],
},
],
});
3 changes: 3 additions & 0 deletions src/apps/com.tencent.mm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export default defineGkdApp({
'@LinearLayout[clickable=true] > [text="关闭该广告" || text*="Close"][visibleToUser=true]', //2
'@LinearLayout[index=1][clickable=true] <2 * < * - [text*="广告"]', //3
'@[text="关闭该广告"] -2 [text^="对这条广告不感兴趣"][visibleToUser=true]', //4
'[text="直接关闭"][clickable=true][visibleToUser=true]', //5
],
snapshotUrls: [
//1
Expand All @@ -84,6 +85,8 @@ export default defineGkdApp({
'https://i.gkd.li/i/19666176',
//4
'https://i.gkd.li/i/19633486',
//5
'https://i.gkd.li/i/28643685',
],
},

Expand Down
Loading