perf(微博轻享版): 分段广告-信息流广告

This commit is contained in:
AIsouler
2024-03-29 10:35:21 +08:00
parent ba19645d00
commit bcf0325fab

View File

@@ -36,16 +36,17 @@ export default defineAppConfig({
key: 0, key: 0,
name: '分段广告-信息流广告', name: '分段广告-信息流广告',
desc: '出现在主页,搜索页', desc: '出现在主页,搜索页',
quickFind: true,
activityIds: [
'com.google.android.material.bottomsheet.BottomSheetDialog',
'com.weico.international.activity.MainFragmentActivity',
'com.weico.international.ui.search.SearchActivity',
],
rules: [ rules: [
{ {
key: 0, key: 0,
name: '点击广告卡片右上角[x]', name: '点击广告卡片右上角[x]',
quickFind: true, matches: '[vid="item_timeline_ad_action"]',
activityIds: [
'com.weico.international.activity.MainFragmentActivity',
'com.weico.international.ui.search.SearchActivity',
],
matches: '[id="com.weico.international:id/item_timeline_ad_action"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/12857202', 'https://i.gkd.li/i/12857202',
'https://i.gkd.li/i/14444744', 'https://i.gkd.li/i/14444744',
@@ -55,12 +56,12 @@ export default defineAppConfig({
preKeys: [0], preKeys: [0],
key: 1, key: 1,
name: '点击不感兴趣', name: '点击不感兴趣',
activityIds: matches:
'com.google.android.material.bottomsheet.BottomSheetDialog', '@View[clickable=true] > [text="不感兴趣"] <<n [vid="design_bottom_sheet"]',
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',
'https://i.gkd.li/i/14798365',
], ],
}, },
], ],