From fe9a179e1513f96aed8cc4683fd7f54bb3a6d85f Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Thu, 2 Nov 2023 21:07:25 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=BF=90=E5=8A=A8=E4=B8=96=E7=95=8C?= =?UTF-8?q?=E6=A0=A1=E5=9B=AD):=20=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A?= =?UTF-8?q?=EF=BC=88=E8=A1=A5=E5=85=85=E8=A7=84=E5=88=99=EF=BC=89=20(#1712?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat 开屏广告(补充规则) * feat 快手广告(补充规则) * feat(运动世界校园): 开屏广告 --------- Co-authored-by: lisonge --- .../com.zjwh.android_wh_physicalfitness.ts | 27 ++++++++++++++----- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/src/apps/com.zjwh.android_wh_physicalfitness.ts b/src/apps/com.zjwh.android_wh_physicalfitness.ts index cd0d005c..bbe1d1f0 100644 --- a/src/apps/com.zjwh.android_wh_physicalfitness.ts +++ b/src/apps/com.zjwh.android_wh_physicalfitness.ts @@ -7,11 +7,20 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - activityIds: 'com.zjwh.android_wh_physicalfitness.ui.AdActivity', - matchLauncher: true, - rules: - '[id="com.zjwh.android_wh_physicalfitness:id/layoutContainer"] >n [text="跳过"]', - snapshotUrls: 'https://i.gkd.li/import/13166424', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + key: 0, + quickFind: true, + matches: '[text*="跳过"][text.length<=10]', + snapshotUrls: [ + 'https://i.gkd.li/import/13166424', + 'https://i.gkd.li/import/13228145', + ], + }, + ], }, { key: 1, @@ -55,7 +64,7 @@ export default defineAppConfig({ key: 0, matches: '[id="com.kwad.dy.sdk:id/ksad_splash_root_container"] >n ViewGroup > [text="跳过"]', - snapshotUrls: ['https://gkd-kit.gitee.io/import/12673495'], + snapshotUrls: 'https://gkd-kit.gitee.io/import/12673495', }, { key: 1, @@ -66,6 +75,12 @@ export default defineAppConfig({ 'https://i.gkd.li/import/12826124', ], }, + { + key: 2, + matches: + '[id="com.zjwh.android_wh_physicalfitness:id/ksad_tk_view"] >n ViewGroup > @ViewGroup[childCount=1] > ImageView', + snapshotUrls: 'https://i.gkd.li/import/13228216', + }, ], }, {