perf: 直播吧

This commit is contained in:
AIsouler
2024-05-25 19:37:24 +08:00
parent b00f58a328
commit 49039c2ac4
2 changed files with 8 additions and 37 deletions

View File

@@ -46,7 +46,7 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [
{ {
id: 'android.zhibo8', id: 'android.zhibo8',
name: '直播吧', name: '直播吧',
deprecatedKeys: [0], deprecatedKeys: [0, 2],
}, },
{ {
id: 'bubei.tingshu', id: 'bubei.tingshu',

View File

@@ -17,60 +17,31 @@ export default defineGkdApp({
{ {
key: 0, key: 0,
name: '点击关闭', name: '点击关闭',
matches: matches: '[vid="iv_tip"][clickable=true][visibleToUser=true]',
'@[id$="iv_tip"][clickable=true] -2 * > [text="广告"][visibleToUser=true]',
exampleUrls:
'https://m.gkd.li/57941037/b67e6d84-0373-4985-82da-c8443904c8f0',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/14428863',
'https://i.gkd.li/i/13786148', 'https://i.gkd.li/i/13786148',
'https://i.gkd.li/i/14428863',
'https://i.gkd.li/i/15443198',
], ],
}, },
{ {
key: 1, key: 1,
name: '点击不感兴趣', name: '点击不感兴趣',
matches: '@[clickable=true] >3 [text="不感兴趣"]', matches: '@[clickable=true] >3 [text="不感兴趣"]',
exampleUrls:
'https://m.gkd.li/57941037/cb130039-0338-4225-91f0-eae4669ed0dc',
snapshotUrls: 'https://i.gkd.li/i/14428912', snapshotUrls: 'https://i.gkd.li/i/14428912',
}, },
], ],
}, },
{
key: 2,
name: '分段广告-文章底部广告',
rules: [
{
key: 0,
activityIds: 'android.zhibo8.ui.contollers.detail.DetailActivity',
quickFind: true,
matches:
'@[vid="iv_tip"][clickable=true][visibleToUser=true] -(1,2) * > [text="广告"]',
snapshotUrls: [
'https://i.gkd.li/i/14395379',
'https://i.gkd.li/i/14395389',
],
},
{
key: 1,
preKeys: 0,
activityIds: 'android.zhibo8.ui.contollers.detail.DetailActivity',
quickFind: true,
matches: '@[clickable=true][visibleToUser=true] >3 [text="不感兴趣"]',
snapshotUrls: 'https://i.gkd.li/i/14395415',
},
],
},
{ {
key: 3, key: 3,
name: '更新提示', name: '更新提示',
quickFind: true,
actionMaximum: 1,
resetMatch: 'app',
rules: [ rules: [
{ {
key: 0, key: 0,
actionMaximum: 1, matches: ['[text="发现新版本"]', '[vid="iv_cancel"]'],
resetMatch: 'app',
quickFind: true,
matches: '@[vid="iv_cancel"] - * >4 [text="发现新版本"]',
snapshotUrls: 'https://i.gkd.li/i/14395465', snapshotUrls: 'https://i.gkd.li/i/14395465',
}, },
], ],