From f4fe18b9244f5b9fc77b0ae2c373fc203a5630d3 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Tue, 16 Apr 2024 21:05:52 +0800 Subject: [PATCH] =?UTF-8?q?perf(=E5=BE=AE=E5=8D=9A=E6=9E=81=E9=80=9F?= =?UTF-8?q?=E7=89=88):=20=E5=88=86=E6=AE=B5=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.sina.weibolite.ts | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/apps/com.sina.weibolite.ts b/src/apps/com.sina.weibolite.ts index 044634e7..361cf3b4 100644 --- a/src/apps/com.sina.weibolite.ts +++ b/src/apps/com.sina.weibolite.ts @@ -8,22 +8,30 @@ export default defineAppConfig({ key: 1, name: '分段广告-信息流广告', desc: '点击广告卡片右上角x图标,点击[不感兴趣]', - activityIds: 'com.weico.international.activity.MainFragmentActivity', + quickFind: true, + activityIds: [ + 'com.weico.international.activity.MainFragmentActivity', + 'com.weico.international.ui.search.SearchActivity', + ], rules: [ { key: 0, name: '点击广告卡片右上角x图标', - matches: '[id="com.sina.weibolite:id/item_timeline_ad_action"]', - snapshotUrls: 'https://i.gkd.li/i/12738110', + matches: '[vid="item_timeline_ad_action"]', + snapshotUrls: [ + 'https://i.gkd.li/i/12738110', + 'https://i.gkd.li/i/14996673', + ], }, { preKeys: 0, name: '点击[不感兴趣]', matches: - '@View[clickable=true][childCount=1] > TextView[text="不感兴趣"||text$="interest"]', + '@View[clickable=true][childCount=1] > TextView[text="不感兴趣"||text$="interest"] <