From 8cae644dd9e85dc891ef8d788cec2fdff8a3e06e Mon Sep 17 00:00:00 2001 From: AIsouler Date: Mon, 17 Nov 2025 12:44:52 +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 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/globalGroups.ts b/src/globalGroups.ts index e6559147..b6521ed6 100644 --- a/src/globalGroups.ts +++ b/src/globalGroups.ts @@ -26,9 +26,9 @@ export default defineGkdGlobalGroups([ excludeMatches: '([text*="搜索" || text="历史记录" || text$="在搜"][text.length>3 && text.length<7][visibleToUser=true]) || ([text="设置" || text="Submit" || text*="阅读并同意" || text$="登录" || text="选好了" || text="书签" || text="NEXT"][visibleToUser=true]) || ([text^="选择"][text*="偏好" || text*="行业"][text.length<10][visibleToUser=true])', anyMatches: [ - '[text*="跳过"][text.length<10][width<350 && height<200][visibleToUser=true]', + '[text*="跳过"][text.length<10][width<400 && height<200][visibleToUser=true]', '@[name$="View" || name$="LinearLayout"][clickable=true][childCount<2][width<300 && height<150] - [text="互动广告"][visibleToUser=true]', - '[childCount=0][visibleToUser=true][width<350 && height<200][(text.length<10 && (text*="跳过" || text*="跳 过" || text*="跳過" || text~="(?is).*skip.*") && text!*="视频") || (vid~="(?is).*skip.*" && vid!~="(?is).*video.*" && !(text="帮助") && !(text="取消") && !(text*="退出")) || id$="tt_splash_skip_btn" || (desc.length<10 && (desc*="跳过" || desc*="跳過" || desc~="(?is).*skip.*"))]', + '[childCount=0][visibleToUser=true][width<400 && height<200][(text.length<10 && (text*="跳过" || text*="跳 过" || text*="跳過" || text~="(?is).*skip.*") && text!*="视频") || (vid~="(?is).*skip.*" && vid!~="(?is).*video.*" && !(text="帮助") && !(text="取消") && !(text*="退出")) || id$="tt_splash_skip_btn" || (desc.length<10 && (desc*="跳过" || desc*="跳過" || desc~="(?is).*skip.*"))]', ], snapshotUrls: [ // 互动开屏广告 @@ -37,6 +37,9 @@ export default defineGkdGlobalGroups([ // text*="跳 过" 'https://i.gkd.li/i/13421452', + + // width<400 + 'https://i.gkd.li/i/23574381', ], excludeSnapshotUrls: [ // 避免误触