feat(驾考宝典): 开屏广告(补充规则)

This commit is contained in:
AIsouler
2024-07-18 20:56:01 +08:00
parent 1307e34b87
commit c4814879c9

View File

@@ -7,17 +7,23 @@ export default defineGkdApp({
{ {
key: -1, key: -1,
name: '开屏广告', name: '开屏广告',
resetMatch: 'app', fastQuery: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
fastQuery: true,
matches: matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][visibleToUser=true] + TextView[text=null] <<n [id="android:id/content"]', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][visibleToUser=true] + TextView[text=null] <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/14812686', snapshotUrls: 'https://i.gkd.li/i/14812686',
}, },
{
key: 1,
matches: '[text*="跳过"][text.length<10][visibleToUser=true]',
snapshotUrls: 'https://i.gkd.li/i/16283385',
},
], ],
}, },
{ {