feat(哔哩哔哩): 规则优化-快速查询

This commit is contained in:
二刺螈
2023-10-09 00:37:41 +08:00
parent 284530f355
commit a0bcb3d33c

View File

@@ -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',