feat(摩托范): 信息流广告-完善规则 (#713)

Co-authored-by: shanlan <hi@gobyte.cn>
This commit is contained in:
shanlanCoding
2023-10-08 00:08:31 +08:00
committed by GitHub
parent d7abfe3bd3
commit 62270ec5a7

View File

@@ -34,10 +34,20 @@ export default defineAppConfig({
activityIds: ['com.jdd.motorfans.MTMainActivity'], activityIds: ['com.jdd.motorfans.MTMainActivity'],
rules: [ rules: [
{ {
name: '点x按钮',
key: 0,
matches: matches:
'[id="com.jdd.motorfans:id/recyclerView"] > FrameLayout[id="com.jdd.motorfans:id/container"] > FrameLayout[childCount=3] > ImageView[clickable=true][id=null] + ImageView[clickable=true][id=null]', //虽然在审查页面能匹配上,但是在“执行选择器”功能下一直处于搜索中,先添加后到真机测试 '[id="com.jdd.motorfans:id/recyclerView"] > FrameLayout[id="com.jdd.motorfans:id/container"] > FrameLayout[childCount=3] > ImageView[clickable=true][id=null] + ImageView[clickable=true][id=null]', //虽然在审查页面能匹配上,但是在“执行选择器”功能下一直处于搜索中,先添加后到真机测试
snapshotUrls: ['https://gkd-kit.gitee.io/import/12826382'], snapshotUrls: ['https://gkd-kit.gitee.io/import/12826382'],
}, },
{
name: '点击不感兴趣',
preKeys: 0,
matches: [
'TextView[id="com.jdd.motorfans:id/beizi_dislike_item_multi_one_title"][text*="不感兴趣"]',
],
snapshotUrls: ['https://gkd-kit.gitee.io/import/12829069'],
},
], ],
}, },
], ],