From 04b07a8f3f896f73bbec0384b0fce7ab24ed4ed5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E5=88=BA=E8=9E=88?= Date: Thu, 7 Sep 2023 23:23:18 +0800 Subject: [PATCH] =?UTF-8?q?perf(=E8=B1=86=E7=93=A3):=20=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E4=B8=8D=E6=84=9F=E5=85=B4=E8=B6=A3=E5=BC=B9?= =?UTF-8?q?=E7=AA=97,=20(=E9=BB=98=E8=AE=A4=E7=A6=81=E7=94=A8)=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=B5=81=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.douban.frodo.ts | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/src/apps/com.douban.frodo.ts b/src/apps/com.douban.frodo.ts index 775aaf30..64e7a10f 100644 --- a/src/apps/com.douban.frodo.ts +++ b/src/apps/com.douban.frodo.ts @@ -47,6 +47,7 @@ export default defineAppConfig({ { key: 3, name: '信息流广告', + enable: false, desc: '首页动态/推荐,帖子底部,点击广告关闭后出现关闭原因底部菜单-选择不感兴趣', activityIds: [ 'com.douban.frodo.activity.SplashActivity', @@ -55,10 +56,6 @@ export default defineAppConfig({ 'com.douban.frodo.subject.activity.ForumTopicActivity', ], rules: [ - { - matches: '[text="不感兴趣"][id="com.douban.frodo:id/mainText"]', - snapshotUrls: 'https://gkd-kit.gitee.io/import/12548016', - }, { matches: 'ImageView[id="com.douban.frodo:id/avatar"][index=0] +n ImageView[id="com.douban.frodo:id/menu_item"]', @@ -68,11 +65,6 @@ export default defineAppConfig({ 'https://gkd-kit.gitee.io/import/12548046', ], }, - { - matches: - 'TextView < FrameLayout + FrameLayout > ImageView +3 FrameLayout > ImageView', - snapshotUrls: 'https://gkd-kit.gitee.io/import/12548476', - }, { matches: '[id$="ad_not_interest"]', snapshotUrls: [ @@ -82,6 +74,21 @@ export default defineAppConfig({ }, ], }, + { + key: 7, + name: '自动选择不感兴趣弹窗', + desc: '广告关闭原因底部菜单-选择不感兴趣', + activityIds: [ + 'com.douban.frodo.activity.SplashActivity', + 'com.douban.frodo.status.activity.StatusDetailActivity', + 'com.douban.frodo.subject.structure.activity.MovieActivity', + 'com.douban.frodo.subject.activity.ForumTopicActivity', + ], + rules: { + matches: '[text="不感兴趣"][id="com.douban.frodo:id/mainText"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12548016', + }, + }, { key: 4, cd: 10000,