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

This commit is contained in:
AIsouler
2024-03-07 17:26:12 +08:00
parent 59c8614780
commit 3d153f1236

View File

@@ -140,13 +140,10 @@ const globalGroups: RawGlobalGroup[] = [
rules: [ rules: [
{ {
key: 0, key: 0,
matches: matches: [
'[name!$=".CheckBox"][childCount=0][visibleToUser=true][((text*="青少年" || text*="未成年") && text*="模式" || text*="儿童模式") || ((desc*="青少年" || desc*="未成年") && desc*="模式")] <n * > [name!$=".CheckBox"][childCount=0][visibleToUser=true][text*="知道了" || text*="关闭" || 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*="关闭"]',
{ ],
key: 1,
matches:
'[name!$=".CheckBox"][childCount=0][visibleToUser=true][((text*="青少年" || text*="未成年") && text*="模式") || ((desc*="青少年" || desc*="未成年") && desc*="模式")] <n * > * >n [name!$=".CheckBox"][childCount=0][visibleToUser=true][text*="知道了" || text*="关闭" || desc*="知道了" || desc*="关闭"]',
}, },
], ],
apps: [...uniqueAppIdsYM].map((id) => ({ id, enable: false })), apps: [...uniqueAppIdsYM].map((id) => ({ id, enable: false })),