feat(自动点击器): 卡片式广告(优化规则) (#3409)

This commit is contained in:
Kun Jinkao 2023-12-24 21:12:46 +08:00 committed by GitHub
parent 506dd5582f
commit 04b01120d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,15 +15,20 @@ export default defineAppConfig({
}, },
{ {
key: 1, key: 1,
name: '首页顶部广告卡片', name: '卡片式广告',
activityIds: 'com.autoclicker.clicker.MainActivity',
rules: [ rules: [
{ {
key: 0,
activityIds: 'com.bytedance.sdk.openadsdk.core.dislike.ui', activityIds: 'com.bytedance.sdk.openadsdk.core.dislike.ui',
matches: matches:
'@LinearLayout > TextView[id=`com.byted.pangle:id/tt_item_tv`][text=`不感兴趣`]', '@LinearLayout > TextView[id=`com.byted.pangle:id/tt_item_tv`][text=`不感兴趣`]',
}, },
'Image < @View + View >2 [text*=`广告`]', {
key: 1,
activityIds: 'com.autoclicker.clicker.MainActivity',
matches: 'Image < @View + View > View > [text="广告"]',
snapshotUrls: 'https://i.gkd.li/import/13761239',
},
], ],
}, },
], ],