mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
feat(全局规则): 青少年模式(优化规则)
This commit is contained in:
@@ -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 })),
|
||||||
|
|||||||
Reference in New Issue
Block a user