perf: 开屏广告-全局

This commit is contained in:
AIsouler
2025-04-10 12:19:03 +08:00
parent a142a49c5d
commit f00d72e584

View File

@@ -22,7 +22,6 @@ export default defineGkdGlobalGroups([
rules: [
{
key: 0,
action: 'clickCenter',
// 防止误触
excludeMatches:
'[text*="搜索" || text^="猜你" || text="历史记录" || text$="在搜" || text*="退款详情"][text.length>3 && text.length<6][visibleToUser=true]',
@@ -40,7 +39,6 @@ export default defineGkdGlobalGroups([
},
{
key: 1, // 字节SDK
action: 'clickCenter',
anyMatches: [
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>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]',