perf(微博极速版): 分段广告

This commit is contained in:
AIsouler
2024-04-16 21:05:52 +08:00
parent f89d654dee
commit f4fe18b924

View File

@@ -8,22 +8,30 @@ export default defineAppConfig({
key: 1, key: 1,
name: '分段广告-信息流广告', name: '分段广告-信息流广告',
desc: '点击广告卡片右上角x图标,点击[不感兴趣]', desc: '点击广告卡片右上角x图标,点击[不感兴趣]',
activityIds: 'com.weico.international.activity.MainFragmentActivity', quickFind: true,
activityIds: [
'com.weico.international.activity.MainFragmentActivity',
'com.weico.international.ui.search.SearchActivity',
],
rules: [ rules: [
{ {
key: 0, key: 0,
name: '点击广告卡片右上角x图标', name: '点击广告卡片右上角x图标',
matches: '[id="com.sina.weibolite:id/item_timeline_ad_action"]', matches: '[vid="item_timeline_ad_action"]',
snapshotUrls: 'https://i.gkd.li/i/12738110', snapshotUrls: [
'https://i.gkd.li/i/12738110',
'https://i.gkd.li/i/14996673',
],
}, },
{ {
preKeys: 0, preKeys: 0,
name: '点击[不感兴趣]', name: '点击[不感兴趣]',
matches: matches:
'@View[clickable=true][childCount=1] > TextView[text="不感兴趣"||text$="interest"]', '@View[clickable=true][childCount=1] > TextView[text="不感兴趣"||text$="interest"] <<n [vid="design_bottom_sheet"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/12738132', 'https://i.gkd.li/i/12738132',
'https://i.gkd.li/i/13727657', 'https://i.gkd.li/i/13727657',
'https://i.gkd.li/i/14996679',
], ],
}, },
], ],