From bcf0325fab1712b90cdd2b0d250a6f0ccf183af6 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Fri, 29 Mar 2024 10:35:21 +0800 Subject: [PATCH] =?UTF-8?q?perf(=E5=BE=AE=E5=8D=9A=E8=BD=BB=E4=BA=AB?= =?UTF-8?q?=E7=89=88):=20=E5=88=86=E6=AE=B5=E5=B9=BF=E5=91=8A-=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.weico.international.ts | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/apps/com.weico.international.ts b/src/apps/com.weico.international.ts index 248496a9..2c0f6386 100644 --- a/src/apps/com.weico.international.ts +++ b/src/apps/com.weico.international.ts @@ -36,16 +36,17 @@ export default defineAppConfig({ key: 0, name: '分段广告-信息流广告', desc: '出现在主页,搜索页', + quickFind: true, + activityIds: [ + 'com.google.android.material.bottomsheet.BottomSheetDialog', + 'com.weico.international.activity.MainFragmentActivity', + 'com.weico.international.ui.search.SearchActivity', + ], rules: [ { key: 0, name: '点击广告卡片右上角[x]', - quickFind: true, - activityIds: [ - 'com.weico.international.activity.MainFragmentActivity', - 'com.weico.international.ui.search.SearchActivity', - ], - matches: '[id="com.weico.international:id/item_timeline_ad_action"]', + matches: '[vid="item_timeline_ad_action"]', snapshotUrls: [ 'https://i.gkd.li/i/12857202', 'https://i.gkd.li/i/14444744', @@ -55,12 +56,12 @@ export default defineAppConfig({ preKeys: [0], key: 1, name: '点击不感兴趣', - activityIds: - 'com.google.android.material.bottomsheet.BottomSheetDialog', - matches: '@View > [text="不感兴趣"]', + matches: + '@View[clickable=true] > [text="不感兴趣"] <