diff --git a/src/apps/android.zhibo8.ts b/src/apps/android.zhibo8.ts index 0cde508e..9e0d65c6 100644 --- a/src/apps/android.zhibo8.ts +++ b/src/apps/android.zhibo8.ts @@ -7,22 +7,24 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - matchLauncher: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', quickFind: true, rules: [ { - matches: '[id="android.zhibo8:id/tv_skip_text"]', - snapshotUrls: 'https://gkd-kit.gitee.io/import/12700387', - }, - { - matches: '[id="android.zhibo8:id/asv_splash"] TextView[text^="跳过"]', - snapshotUrls: 'https://gkd-kit.gitee.io/import/12661109', + matches: 'TextView[text^="跳过"]', + snapshotUrls: [ + 'https://gkd-kit.gitee.io/import/12700387', + 'https://gkd-kit.gitee.io/import/12661109', + ], }, ], }, { key: 1, name: '信息流广告', + quickFind: true, activityIds: 'android.zhibo8.ui.contollers.main.MainActivity', rules: [ { @@ -33,9 +35,10 @@ export default defineAppConfig({ snapshotUrls: 'https://gkd-kit.gitee.io/import/12841134', }, { - preKeys: 0, + key: 1, //不重叠不需要preKeys name: '点击[不感兴趣]', - matches: '[id="android.zhibo8:id/tv_title"][text="不感兴趣"]', + matches: + '@LinearLayout > [id="android.zhibo8:id/tv_title"][text="不感兴趣"]', // issues/1656, 直接指向text可能不工作 snapshotUrls: 'https://gkd-kit.gitee.io/import/12841135', }, ],