feat(全局规则): 青少年模式(优化规则)

This commit is contained in:
AIsouler
2024-03-07 21:09:33 +08:00
parent 3d153f1236
commit b046f7d69d

View File

@@ -135,14 +135,12 @@ const globalGroups: RawGlobalGroup[] = [
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionCdKey: 0,
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
matches: [ matches: [
'[name!$=".CheckBox"][childCount=0][visibleToUser=true][((text*="青少年" || text*="未成年") && text*="模式" || text*="儿童模式") || ((desc*="青少年" || desc*="未成年") && desc*="模式")]', '[name!$=".CheckBox"][childCount=0][visibleToUser=true][((text*="青少年" || text*="未成年") && text*="模式" || text*="儿童模式") || ((desc*="青少年" || desc*="未成年") && desc*="模式")]',
'[name!$=".CheckBox"][childCount=0][visibleToUser=true][text*="知道了" || text*="关闭" || desc*="知道了" || desc*="关闭"]', '[name!$=".CheckBox"][childCount=0][visibleToUser=true][text*="知道了" || text*="关闭" || text="我已知晓" || desc*="知道了" || desc*="关闭"]',
], ],
}, },
], ],