fix: 开屏广告-全局误触

This commit is contained in:
AIsouler
2025-10-22 19:29:53 +08:00
parent 203311917c
commit 1071048106

View File

@@ -24,7 +24,7 @@ export default defineGkdGlobalGroups([
key: 0, key: 0,
// 防止误触 // 防止误触
excludeMatches: excludeMatches:
'([text*="搜索" || text="历史记录" || text$="在搜"][text.length>3 && text.length<7][visibleToUser=true]) || ([text="设置" || text="退款详情" || text="Submit" || text*="阅读并同意" || text$="登录"][visibleToUser=true]) || ([text*="选择"][text*="偏好"][visibleToUser=true])', '([text*="搜索" || text="历史记录" || text$="在搜"][text.length>3 && text.length<7][visibleToUser=true]) || ([text="设置" || text="退款详情" || text="Submit" || text*="阅读并同意" || text$="登录" || text="选好了"][visibleToUser=true]) || ([text^="选择"][text*="偏好" || text*="行业"][text.length<10][visibleToUser=true])',
anyMatches: [ anyMatches: [
'[text*="跳过"][text.length<10][visibleToUser=true]', '[text*="跳过"][text.length<10][visibleToUser=true]',
'@View[clickable=true][childCount=0] - [text="互动广告"][visibleToUser=true]', '@View[clickable=true][childCount=0] - [text="互动广告"][visibleToUser=true]',
@@ -42,6 +42,7 @@ export default defineGkdGlobalGroups([
'https://i.gkd.li/i/21617520', // text!*="视频" 'https://i.gkd.li/i/21617520', // text!*="视频"
'https://i.gkd.li/i/22634992', // text$="登录" 'https://i.gkd.li/i/22634992', // text$="登录"
'https://i.gkd.li/i/23051921', // [text*="选择"][text*="偏好"] 'https://i.gkd.li/i/23051921', // [text*="选择"][text*="偏好"]
'https://i.gkd.li/i/23052289', // text="选好了" text*="行业"
], ],
}, },
{ {