From e9a74a2421b9f88d7f32c6a1f9a7974e45a6639f Mon Sep 17 00:00:00 2001 From: AIsouler Date: Tue, 1 Jul 2025 13:13:10 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=BE=AE=E5=8D=9A=E8=BD=BB=E4=BA=AB?= =?UTF-8?q?=E7=89=88-=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A=20#1024?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.weico.international.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/apps/com.weico.international.ts b/src/apps/com.weico.international.ts index 24b56f20..cd7632e1 100644 --- a/src/apps/com.weico.international.ts +++ b/src/apps/com.weico.international.ts @@ -17,15 +17,23 @@ export default defineGkdApp({ { key: 0, order: -1, - matches: '@[clickable=true][visibleToUser=true] + * > [text="跳过"]', + anyMatches: [ + '@[clickable=true][visibleToUser=true] + ViewGroup > [text="跳过"]', + '@[clickable=true] - [text*="跳过"][text.length<10][visibleToUser=true]', // https://github.com/AIsouler/GKD_subscription/issues/1024 + ], snapshotUrls: [ 'https://i.gkd.li/i/14549281', 'https://i.gkd.li/i/14549328', // 小窗模式下全局规则触发无效 'https://i.gkd.li/i/18792649', // visibleToUser=false + 'https://i.gkd.li/i/20990401', ], }, { key: 1, + excludeMatches: [ + '@[clickable=true] - [text*="跳过"][text.length<10][visibleToUser=true]', + '@[clickable=true][visibleToUser=true] + ViewGroup > [text="跳过"]', + ], matches: '[text*="跳过"][text.length<10][visibleToUser=true]', snapshotUrls: [ 'https://i.gkd.li/i/14661654',