feat(小米浏览器):主页信息流广告-规则优化 (#1525)

* feat(小米浏览器):主页信息流广告

* Update com.android.browser.ts
This commit is contained in:
jiuqianyuan
2023-10-29 02:27:01 +08:00
committed by GitHub
parent f2a4b74813
commit eda1d6017a

View File

@@ -19,10 +19,14 @@ export default defineAppConfig({
{ {
key: 1, key: 1,
name: '主页信息流广告', name: '主页信息流广告',
quickFind: true,
activityIds: [
'com.android.browser.BrowserActivity',
'com.android.browser.flow.view.FeedbackDialog',
],
rules: [ rules: [
{ {
key: 0, key: 0,
activityIds: 'com.android.browser.BrowserActivity',
matches: matches:
'@[id!=null][desc="负反馈"][visibleToUser=true] -n * > * > [text="广告"]', '@[id!=null][desc="负反馈"][visibleToUser=true] -n * > * > [text="广告"]',
snapshotUrls: [ snapshotUrls: [
@@ -33,9 +37,11 @@ export default defineAppConfig({
{ {
preKeys: 0, preKeys: 0,
key: 1, key: 1,
activityIds: 'com.android.browser.flow.view.FeedbackDialog',
matches: '@FrameLayout > ViewGroup > [text="不感兴趣"]', matches: '@FrameLayout > ViewGroup > [text="不感兴趣"]',
snapshotUrls: 'https://i.gkd.li/import/12894234', snapshotUrls: [
'https://i.gkd.li/import/12894234',
'https://i.gkd.li/import/13196059',
],
}, },
], ],
}, },