From ba591cd84e2557f558025cb0c0feb5ff73552072 Mon Sep 17 00:00:00 2001 From: jiuqianyuan <39406781+jiuqianyuan@users.noreply.github.com> Date: Sun, 5 Nov 2023 20:18:00 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=93=94=E5=93=A9=E5=93=94=E5=93=A9):=20?= =?UTF-8?q?=E6=8E=A8=E8=8D=90-=E4=BF=A1=E6=81=AF=E6=B5=81=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=20(#1832)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(哔哩哔哩):推荐-信息流广告 * 格式更正 * chore(actions): check_format_lint * feat(哔哩哔哩): 首页-推荐视频卡片广告 --------- Co-authored-by: github-actions[bot] Co-authored-by: lisonge close #1824 --- src/apps/tv.danmaku.bili.ts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/apps/tv.danmaku.bili.ts b/src/apps/tv.danmaku.bili.ts index cca2d2cb..deef5c13 100644 --- a/src/apps/tv.danmaku.bili.ts +++ b/src/apps/tv.danmaku.bili.ts @@ -157,5 +157,27 @@ export default defineAppConfig({ rules: '[text="打开推送通知"] +2 * > [id="tv.danmaku.bili:id/close"]', snapshotUrls: 'https://i.gkd.li/import/13229159', }, + { + key: 10, + enable: false, + name: '首页-推荐视频卡片广告', // 流程与 key=4 视频底部广告 基本一致 + activityIds: 'tv.danmaku.bili.MainActivityV2', + quickFind: true, + rules: [ + { + key: 0, + name: '点击广告卡片右下角菜单按钮', + matches: + '[id="tv.danmaku.bili:id/ad_tint_frame"] [id="tv.danmaku.bili:id/more"]', + snapshotUrls: 'https://i.gkd.li/import/13256570', + }, + { + name: '点击[不感兴趣]', + preKeys: 0, + matches: '[id="tv.danmaku.bili:id/menu_layout"] [text="不感兴趣"]', + snapshotUrls: 'https://i.gkd.li/import/13256605', + }, + ], + }, ], });