feat(微博轻享版): 优化规则

This commit is contained in:
AIsouler
2024-02-29 16:19:02 +08:00
parent ec71fb6448
commit 5c70b92904

View File

@@ -8,32 +8,33 @@ export default defineAppConfig({
key: 0, key: 0,
name: '分段广告-信息流广告', name: '分段广告-信息流广告',
desc: '出现在主页,搜索页', desc: '出现在主页,搜索页',
rules: [
{
key: 0,
name: '点击广告卡片右上角[x]',
quickFind: true,
activityIds: [ activityIds: [
'com.weico.international.activity.MainFragmentActivity', 'com.weico.international.activity.MainFragmentActivity',
'com.weico.international.ui.search.SearchActivity', 'com.weico.international.ui.search.SearchActivity',
], ],
exampleUrls: matches: '[id="com.weico.international:id/item_timeline_ad_action"]',
'https://github.com/gkd-kit/subscription/assets/38517192/e713a2ca-5048-486a-874f-dd876d53c49b', snapshotUrls: [
rules: [ 'https://i.gkd.li/i/12857202',
'https://i.gkd.li/i/14444744',
],
},
{ {
preKeys: [1], preKeys: [0],
key: 1,
name: '点击不感兴趣', name: '点击不感兴趣',
activityIds:
'com.google.android.material.bottomsheet.BottomSheetDialog',
matches: '@View > [text="不感兴趣"]', matches: '@View > [text="不感兴趣"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/12505755', 'https://i.gkd.li/i/12505755',
'https://i.gkd.li/i/12505764', 'https://i.gkd.li/i/12505764',
], ],
}, },
{
key: 0,
name: '点击广告卡片右上角[x]',
matches: '[id="com.weico.international:id/item_timeline_ad_action"]',
snapshotUrls: [
'https://i.gkd.li/i/12505753',
'https://i.gkd.li/i/12505763',
'https://i.gkd.li/i/12857202',
],
},
], ],
}, },
], ],