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

@@ -7,13 +7,14 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
actionMaximumKey: 1,
rules: [
{
key: 1,
quickFind: true,
matches: '[text^="跳过"][text.length<=10]',
snapshotUrls: [
'https://i.gkd.li/i/12843368',
@@ -24,7 +25,7 @@ export default defineAppConfig({
{
key: 2,
matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView',
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: [
'https://i.gkd.li/i/13694858',
'https://i.gkd.li/i/13794403',