From a0bcb3d33cb30a38c52f8bd1bc300d05f7f277d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E5=88=BA=E8=9E=88?= Date: Mon, 9 Oct 2023 00:37:41 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=93=94=E5=93=A9=E5=93=94=E5=93=A9):=20?= =?UTF-8?q?=E8=A7=84=E5=88=99=E4=BC=98=E5=8C=96-=E5=BF=AB=E9=80=9F?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/tv.danmaku.bili.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/apps/tv.danmaku.bili.ts b/src/apps/tv.danmaku.bili.ts index f6dac81e..a8a2e955 100644 --- a/src/apps/tv.danmaku.bili.ts +++ b/src/apps/tv.danmaku.bili.ts @@ -5,6 +5,7 @@ export default defineAppConfig({ name: '哔哩哔哩', groups: [ { + quickFind: true, key: -1, name: '开屏广告', desc: '开屏广告,切回APP开屏广告', @@ -12,6 +13,7 @@ export default defineAppConfig({ snapshotUrls: 'https://gkd-kit.gitee.io/import/12705270', }, { + quickFind: true, key: 0, name: '评论区顶部公告横幅', rules: @@ -26,11 +28,13 @@ export default defineAppConfig({ ], }, { + quickFind: true, key: 1, name: '青少年模式弹窗', rules: 'TextView[text*=`青少年模式`] + TextView[text=`我知道了`]', }, { + quickFind: true, key: 2, name: '动态推荐广告卡片', desc: '点击卡片右上角[广告]按钮-点击不感兴趣', @@ -67,7 +71,6 @@ export default defineAppConfig({ 'com.bilibili.video.videodetail.VideoDetailsActivity', 'com.bilibili.ship.theseus.all.UnitedBizDetailsActivity', 'com.bilibili.ship.theseus.detail.UnitedBizDetailsActivity', - 'tv.danmaku.bili.MainActivityV2', ], rules: [ { @@ -83,6 +86,7 @@ export default defineAppConfig({ ], }, { + quickFind: true, preKeys: 0, key: 1, name: '点击屏蔽广告', @@ -96,12 +100,14 @@ export default defineAppConfig({ ], }, { + quickFind: true, key: 5, name: '推荐页-可跳过广告', activityIds: 'tv.danmaku.bili.MainActivityV2', rules: ['[id=`tv.danmaku.bili:id/click_skip`]'], }, { + quickFind: true, key: 6, name: '更新弹窗', activityIds: 'com.bilibili.app.preferences.BiliPreferencesActivity',