feat(搜书大师): 开屏广告 规则优化(gkd-kit#3375) (#3546)

close #3375
This commit is contained in:
aoguai
2024-01-02 20:15:26 +08:00
committed by GitHub
parent 7d6dc3f88a
commit b5e17a8545

View File

@@ -7,15 +7,23 @@ export default defineAppConfig({
{ {
key: 1, key: 1,
name: '开屏广告', name: '开屏广告',
quickFind: true, quickFind: true,
activityIds: ['com.flyersoft.seekbooks.ActivityMain'], matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [ rules: [
{ {
key: 0,
matches: matches:
'[id="com.flyersoft.seekbooks:id/splash_container1"] >5 [text^="跳过"][text.length<=3]', '[id="com.flyersoft.seekbooks:id/splash_container1"] >5 [text^="跳过"][text.length<=3]',
snapshotUrls: 'https://i.gkd.li/import/12857275', snapshotUrls: 'https://i.gkd.li/import/12857275',
}, },
{
key: 1,
matches:
'FrameLayout > TextView[text=null] - View[visibleToUser=true]',
snapshotUrls: 'https://i.gkd.li/import/13797352',
},
], ],
}, },
], ],