feat(知乎) 局部广告-信息流广告(补充规则) (#31)

This commit is contained in:
AIsouler
2024-02-10 09:56:18 +08:00
committed by GitHub

View File

@@ -128,12 +128,11 @@ export default defineAppConfig({
key: 14,
name: '局部广告-信息流广告',
desc: '点击关闭',
activityIds: [
'com.zhihu.android.feature.short_container_feature.ui.ShortContainerHostActivity',
],
rules: [
{
key: 0,
activityIds:
'com.zhihu.android.feature.short_container_feature.ui.ShortContainerHostActivity',
matches:
'[text*="广告"] +(2,3) ImageView[clickable=true][visibleToUser=true]',
exampleUrls:
@@ -146,12 +145,21 @@ export default defineAppConfig({
{
key: 1,
quickFind: true,
activityIds:
'com.zhihu.android.feature.short_container_feature.ui.ShortContainerHostActivity',
matches:
'@ImageView[clickable=true][visibleToUser=true] + * > [text*="广告"]',
exampleUrls:
'https://m.gkd.li/45487685/c7d89c48-91d1-4658-b22e-d2626117be8b',
snapshotUrls: 'https://i.gkd.li/import/14206988',
},
{
key: 2,
activityIds:
'com.zhihu.android.mix.activity.ContentMixProfileActivity',
matches: '[text*="广告"] +2 [text="×"]',
snapshotUrls: 'https://i.gkd.li/import/14220104',
},
],
},