From 8040a7c135f5078342fdda69b9b378a8af4efa65 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Tue, 8 Apr 2025 18:17:12 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A-?= =?UTF-8?q?=E5=85=A8=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/globalGroups.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/globalGroups.ts b/src/globalGroups.ts index 3161dc5c..d5a15d14 100644 --- a/src/globalGroups.ts +++ b/src/globalGroups.ts @@ -22,6 +22,7 @@ export default defineGkdGlobalGroups([ rules: [ { key: 0, + action: 'clickCenter', // 防止误触 excludeMatches: '[text*="搜索" || text^="猜你" || text="历史记录" || text$="在搜" || text*="退款详情"][text.length>3 && text.length<6][visibleToUser=true]', @@ -39,6 +40,7 @@ export default defineGkdGlobalGroups([ }, { key: 1, // 字节SDK + action: 'clickCenter', anyMatches: [ '@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] 2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',