mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
perf(全局规则): 开屏广告
This commit is contained in:
@@ -10,6 +10,7 @@ export default defineGkdGlobalGroups([
|
||||
key: 0,
|
||||
name: '开屏广告',
|
||||
order: OPEN_AD_ORDER,
|
||||
fastQuery: true,
|
||||
matchRoot: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
@@ -18,21 +19,25 @@ export default defineGkdGlobalGroups([
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
fastQuery: true,
|
||||
excludeMatches:
|
||||
'[(text*="搜索" && text.length<6) || vid~="(?is).*search.*" || (desc*="搜索" && desc.length<6)][visibleToUser=true]', // 防止在应用的搜索页面误触
|
||||
excludeMatches: [
|
||||
// 防止在应用的搜索页面误触
|
||||
'[text*="搜索"][text.length<6][visibleToUser=true]',
|
||||
'[(text*="搜索" && text.length<6) || vid~="(?is).*search.*" || (desc*="搜索" && desc.length<6)][visibleToUser=true]',
|
||||
],
|
||||
matches: '[text*="跳过"][text.length<10][visibleToUser=true]',
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
excludeMatches:
|
||||
'[(text*="搜索" && text.length<6) || vid~="(?is).*search.*" || (desc*="搜索" && desc.length<6)][visibleToUser=true]', // 防止在应用的搜索页面误触
|
||||
excludeMatches: [
|
||||
// 防止在应用的搜索页面误触
|
||||
'[text*="搜索"][text.length<6][visibleToUser=true]',
|
||||
'[(text*="搜索" && text.length<6) || vid~="(?is).*search.*" || (desc*="搜索" && desc.length<6)][visibleToUser=true]',
|
||||
],
|
||||
matches:
|
||||
'[childCount=0][visibleToUser=true][((text*="跳过" || text*="跳過" || text~="(?is).*skip.*") && text.length<10) || ((desc*="跳过" || desc*="跳過" || desc~="(?is).*skip.*") && desc.length<10) || id~="(?is).*tt_splash_skip_btn" || vid~="(?is).*skip.*" || (vid~="(?is).*count.*" && vid~="(?is).*down.*" && vid!~="(?is).*load.*" && vid!~="(?is).*time.*" && vid!~="(?is).*hour.*" && vid!~="(?is).*minute.*" && vid!~="(?is).*second.*" && vid!~="(?is).*add.*" && vid!~="(?is).*ead.*" && text!~="([01]?[0-9]|2[0-3])[::][0-5][0-9]")]',
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
fastQuery: true,
|
||||
matches:
|
||||
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][visibleToUser=true] + TextView[text=null] <<n [id="android:id/content"]',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user