From ed9e20ea348fda9be76ce20e98727701a79c7f64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E5=88=BA=E8=9E=88?= Date: Wed, 11 Oct 2023 23:17:15 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A-=E8=A7=84=E5=88=99?= =?UTF-8?q?=E4=BC=98=E5=8C=96=20(#933)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.baidu.tieba.ts | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/apps/com.baidu.tieba.ts b/src/apps/com.baidu.tieba.ts index 6522bb31..f650876f 100644 --- a/src/apps/com.baidu.tieba.ts +++ b/src/apps/com.baidu.tieba.ts @@ -8,6 +8,7 @@ export default defineAppConfig({ key: 0, name: '开屏广告', desc: '数字倒计时广告,圆形倒计时广告', + quickFind: true, activityIds: [ 'com.baidu.tieba.tblauncher.MainTabActivity', 'com.baidu.tieba.pb.pb.main.PbActivity', @@ -21,13 +22,18 @@ export default defineAppConfig({ { key: 1, matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]' }, // 需要补充快照 { key: 2, - matches: 'TextView[text*="广告"] - TextView[text^="跳过"]', - snapshotUrls: 'https://gkd-kit.songe.li/import/12775906', + matches: + 'TextView[text*="广告"||text.length=1] - TextView[text^="跳过"][text.length=5||text.length=2]', + snapshotUrls: [ + 'https://gkd-kit.songe.li/import/12775906', + 'https://gkd-kit.gitee.io/import/12566191', + ], }, { key: 3, - matches: '@TextView[text="跳过"] + TextView[text.length=1]', - snapshotUrls: ['https://gkd-kit.gitee.io/import/12566191'], + matches: + '@FrameLayout[childCount=1][clickable=true][id!=null] > TextView[text="跳过"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12870916', }, ], },