Skip to content
Closed
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
11 changes: 7 additions & 4 deletions src/apps/com.tencent.mm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ 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 @@ -85,8 +84,6 @@ export default defineGkdApp({
'https://i.gkd.li/i/19666176',
//4
'https://i.gkd.li/i/19633486',
//5
'https://i.gkd.li/i/28643685', // 疑似 微信v8.0.72 将第三段改到了第二段
],
},

Expand All @@ -96,12 +93,18 @@ export default defineGkdApp({
preKeys: [25],
key: 50,
name: '点击[关闭]',
matches: '[text*="关闭" || text="Close"][clickable=true]',
anyMatches: [
'[text*="关闭" || text="Close"][clickable=true]', //1
'[text="直接关闭"][clickable=true][visibleToUser=true]', //2
],
snapshotUrls: [
//1
'https://i.gkd.li/i/12663984',
'https://i.gkd.li/i/12905846',
'https://i.gkd.li/i/14647940',
'https://i.gkd.li/i/14783534',
//2
'https://i.gkd.li/i/28643685', // 微信v8.0.72 引入"直接关闭"按钮
],
},

Expand Down
Loading