perf: 优化开屏广告

This commit is contained in:
AIsouler
2024-03-11 15:13:27 +08:00
parent 7e3c531ded
commit e56d12c81d
97 changed files with 323 additions and 411 deletions

View File

@@ -10,18 +10,19 @@ export default defineAppConfig({
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
actionMaximumKey: 0,
rules: [
{
key: 0,
quickFind: true,
matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView',
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
exampleUrls:
'https://m.gkd.li/57941037/fe2a046b-1abe-4aba-a0df-8d9568211e0d',
snapshotUrls: 'https://i.gkd.li/i/14189313',
},
{
key: 1,
actionCdKey: 0,
matches:
'[childCount=0][visibleToUser=true][(text.length<10&&(text*="跳过"||text*="跳过"||text*="skip"||text*="Skip")) || id$="tt_splash_skip_btn" || vid*="skip" || vid*="Skip" || (vid*="count" && vid*="down" && vid!*="download") || desc*="跳过" || desc*="skip"]',
},