fix(QQ邮箱): 分段广告-列表卡片广告失效

This commit is contained in:
AIsouler
2024-04-21 20:45:10 +08:00
parent 78b24ba2cd
commit 5b4b3ff6ec

View File

@@ -23,7 +23,7 @@ export default defineGkdApp({
{ {
key: 0, key: 0,
name: '英文版邮箱广告-点击Ads', name: '英文版邮箱广告-点击Ads',
matches: ['[id="com.tencent.androidqqmail:id/advertise_view_ad"]'], matches: '[id="com.tencent.androidqqmail:id/advertise_view_ad"]',
snapshotUrls: 'https://i.gkd.li/i/12842757', snapshotUrls: 'https://i.gkd.li/i/12842757',
}, },
{ {
@@ -43,9 +43,11 @@ export default defineGkdApp({
preKeys: [0, 1], // https://github.com/gkd-kit/subscription/issues/1776 preKeys: [0, 1], // https://github.com/gkd-kit/subscription/issues/1776
key: 9, key: 9,
name: '点击[不感兴趣]', name: '点击[不感兴趣]',
matches: matches: '[text="不感兴趣"]',
'[text="赞助商提供的广告"] < FrameLayout + @FrameLayout > [text="不感兴趣"]', snapshotUrls: [
snapshotUrls: 'https://i.gkd.li/i/12775862', 'https://i.gkd.li/i/12775862',
'https://i.gkd.li/i/15051479',
],
}, },
], ],
}, },
@@ -59,7 +61,7 @@ export default defineGkdApp({
rules: [ rules: [
{ {
matches: '[text="立刻开启"] - [text="以后再说"]', matches: '[text="立刻开启"] - [text="以后再说"]',
snapshotUrls: ['https://i.gkd.li/i/13043069'], snapshotUrls: 'https://i.gkd.li/i/13043069',
}, },
], ],
}, },