perf: Oopz-开屏广告 (#1044)

Co-authored-by: AIsouler <zy43220@gmail.com>
This commit is contained in:
ZX夏夜之风
2025-07-13 19:42:15 +08:00
committed by GitHub
parent 5c4fee8963
commit 9b1e704336

View File

@@ -13,6 +13,7 @@ export default defineGkdApp({
priorityTime: 10000, priorityTime: 10000,
rules: [ rules: [
{ {
key: 0,
fastQuery: true, fastQuery: true,
matches: matches:
'[name!$="RelativeLayout"] > [text*="跳过"][index=0][text.length<10][visibleToUser=true]', '[name!$="RelativeLayout"] > [text*="跳过"][index=0][text.length<10][visibleToUser=true]',
@@ -24,6 +25,14 @@ export default defineGkdApp({
], ],
excludeSnapshotUrls: 'https://i.gkd.li/i/21202513', // 虚假跳过按钮 https://github.com/AIsouler/GKD_subscription/issues/1043 excludeSnapshotUrls: 'https://i.gkd.li/i/21202513', // 虚假跳过按钮 https://github.com/AIsouler/GKD_subscription/issues/1043
}, },
{
preKeys: [0], // 处理开屏广告的第二段
fastQuery: true,
matches:
'@ImageView[id="com.wangmai.allmodules:id/wm_image_clear"] <2 RelativeLayout[childCount=2] < FrameLayout < [vid="wm_reward_main"]',
exampleUrls: 'https://e.gkd.li/c1299341-66bf-4702-885c-3fbe5d648675',
snapshotUrls: 'https://i.gkd.li/i/21202940',
},
], ],
}, },
], ],