From d0a12107eefd705fbd51b51bf71e2d6c5943ba33 Mon Sep 17 00:00:00 2001 From: lisonge Date: Fri, 22 Sep 2023 19:35:25 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=93=94=E5=93=A9=E5=93=94=E5=93=A9):=20?= =?UTF-8?q?=E5=8A=A8=E6=80=81=E6=8E=A8=E8=8D=90=E5=B9=BF=E5=91=8A=E5=8D=A1?= =?UTF-8?q?=E7=89=87-=E4=BC=98=E5=8C=96=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/tv.danmaku.bili.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/apps/tv.danmaku.bili.ts b/src/apps/tv.danmaku.bili.ts index 0345719d..e3a38615 100644 --- a/src/apps/tv.danmaku.bili.ts +++ b/src/apps/tv.danmaku.bili.ts @@ -26,11 +26,19 @@ export default defineAppConfig({ }, { key: 2, - name: '动态推荐卡片', + name: '动态推荐广告卡片', + desc: '点击卡片右上角[广告]按钮-点击不感兴趣', + activityIds: 'tv.danmaku.bili.MainActivityV2', rules: [ { - activityIds: 'tv.danmaku.bili.MainActivityV2', + key: 1, matches: '[id=`tv.danmaku.bili:id/ad_goods_mark_big`]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12700222', + }, + { + preKeys: 1, + matches: '[id^="tv.danmaku.bili:id/reason"][text="不感兴趣"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12700243', }, ], },