From 9e64dde9a3d4f459c49643635de19a2bc2fb2fb5 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Sat, 25 May 2024 20:56:32 +0800 Subject: [PATCH] =?UTF-8?q?perf(=E5=8D=8E=E4=B8=BA=E9=9F=B3=E4=B9=90):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.huawei.music.ts | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/src/apps/com.huawei.music.ts b/src/apps/com.huawei.music.ts index 8ee3f9ca..e2925439 100644 --- a/src/apps/com.huawei.music.ts +++ b/src/apps/com.huawei.music.ts @@ -12,31 +12,11 @@ export default defineGkdApp({ resetMatch: 'app', rules: [ { - action: 'clickCenter', - matches: '[id="com.huawei.hms.ads.uiengine:id/hiad_skip_text"]', - snapshotUrls: 'https://i.gkd.li/i/12745222', + matches: '[vid="hiad_skip_text"]', + snapshotUrls: 'https://i.gkd.li/i/15443502', }, ], }, - // 若开启播放器时恰好首页在展示首页横幅广告,则在播放器下拉的推荐页面中会误触此规则导致点击广告(https://i.gkd.li/i/13068854) - // { - // key: 1, - // name: '首页横幅广告', - // quickFind: true, - // activityIds: [ - // 'com.huawei.android.launcher.unihome.UniHomeLauncher', - // 'com.android.mediacenter.MainActivity', - // ], - // rules: [ - // { - // matches: 'TextView[id="com.huawei.music:id/ad_banner_tag"&&visibleToUser=true]', - // snapshotUrls: [ - // 'https://i.gkd.li/i/13068287', - // 'https://i.gkd.li/i/13067243', - // ], - // }, - // ], - // }, { key: 2, name: '分段广告-广告反馈下拉窗',