From eda1d6017a42ec9987ce2e6fd29490ceae55541b Mon Sep 17 00:00:00 2001 From: jiuqianyuan <39406781+jiuqianyuan@users.noreply.github.com> Date: Sun, 29 Oct 2023 02:27:01 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=B0=8F=E7=B1=B3=E6=B5=8F=E8=A7=88?= =?UTF-8?q?=E5=99=A8):=E4=B8=BB=E9=A1=B5=E4=BF=A1=E6=81=AF=E6=B5=81?= =?UTF-8?q?=E5=B9=BF=E5=91=8A-=E8=A7=84=E5=88=99=E4=BC=98=E5=8C=96=20(#152?= =?UTF-8?q?5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(小米浏览器):主页信息流广告 * Update com.android.browser.ts --- src/apps/com.android.browser.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/apps/com.android.browser.ts b/src/apps/com.android.browser.ts index 7aed586b..4de9c3f0 100644 --- a/src/apps/com.android.browser.ts +++ b/src/apps/com.android.browser.ts @@ -19,10 +19,14 @@ export default defineAppConfig({ { key: 1, name: '主页信息流广告', + quickFind: true, + activityIds: [ + 'com.android.browser.BrowserActivity', + 'com.android.browser.flow.view.FeedbackDialog', + ], rules: [ { key: 0, - activityIds: 'com.android.browser.BrowserActivity', matches: '@[id!=null][desc="负反馈"][visibleToUser=true] -n * > * > [text="广告"]', snapshotUrls: [ @@ -33,9 +37,11 @@ export default defineAppConfig({ { preKeys: 0, key: 1, - activityIds: 'com.android.browser.flow.view.FeedbackDialog', matches: '@FrameLayout > ViewGroup > [text="不感兴趣"]', - snapshotUrls: 'https://i.gkd.li/import/12894234', + snapshotUrls: [ + 'https://i.gkd.li/import/12894234', + 'https://i.gkd.li/import/13196059', + ], }, ], },