From a72b0791b6901c5165e7b4df64bb54e52ace0e77 Mon Sep 17 00:00:00 2001 From: lisonge Date: Wed, 1 Nov 2023 20:27:25 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=8D=8E=E4=B8=BA=E5=A4=A9=E6=B0=94):=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(#1701)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.huawei.android.totemweather.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/apps/com.huawei.android.totemweather.ts b/src/apps/com.huawei.android.totemweather.ts index 3e666024..fee372a7 100644 --- a/src/apps/com.huawei.android.totemweather.ts +++ b/src/apps/com.huawei.android.totemweather.ts @@ -7,15 +7,21 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - quickFind: true, matchTime: 10000, actionMaximum: 1, resetMatch: 'app', rules: [ { - matches: '[id="com.huawei.hms.ads.uiengine:id/hiad_skip_text"]', + quickFind: true, + matches: [ + '[id="com.huawei.android.totemweather:id/rl_splash_container"]', + '[text.length<=4][text^="跳过"]', // 无法使用 quickFind + ], action: 'clickCenter', // 根据 https://github.com/gkd-kit/subscription/pull/1180#issuecomment-1767735683 反馈,此处使用 clickCenter 事件。 - snapshotUrls: 'https://gkd-kit.gitee.io/import/12928975', + snapshotUrls: [ + 'https://gkd-kit.gitee.io/import/12928975', + 'https://gkd-kit.gitee.io/import/13226636', + ], }, ], },