From d6ec8900ff117d5879f7cfec603a6ade1c3c5f67 Mon Sep 17 00:00:00 2001 From: Jesse Senior Date: Sun, 6 Oct 2024 19:58:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=93=94=E5=93=A9=E5=93=94=E5=93=A9):=20?= =?UTF-8?q?=E5=B1=80=E9=83=A8=E5=B9=BF=E5=91=8A-=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=E5=B9=BF=E5=91=8A=20(#392)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: AIsouler --- 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 edd1586b..35580e4c 100644 --- a/src/apps/tv.danmaku.bili.ts +++ b/src/apps/tv.danmaku.bili.ts @@ -328,5 +328,27 @@ export default defineGkdApp({ }, ], }, + { + key: 14, + name: '分段广告-搜索结果广告', + desc: '点击右下角[菜单]-点击[不感兴趣]', + fastQuery: true, + activityIds: 'com.bilibili.search2.main.BiliMainSearchActivity', + rules: [ + { + key: 1, + matches: + '@[vid="more"][clickable=true][visibleToUser=true] -3 [vid="tag_layout"] > [vid="ad_tag_with_dot"]', + exampleUrls: 'https://e.gkd.li/e5dd30e7-e8dd-42bc-8953-23368e65cca4', + snapshotUrls: 'https://i.gkd.li/i/17269053', + }, + { + preKeys: [1], + matches: '@[clickable=true] > [text="不感兴趣"]', + exampleUrls: 'https://e.gkd.li/5e6e4b69-ba97-473d-9f62-631c296da589', + snapshotUrls: 'https://i.gkd.li/i/17269055', + }, + ], + }, ], });