Skip to content
This repository has been archived by the owner on Feb 10, 2025. It is now read-only.

Commit

Permalink
feat(全局规则): 青少年模式(优化规则)
Browse files Browse the repository at this point in the history
  • Loading branch information
AIsouler committed Mar 7, 2024
1 parent 59c8614 commit 3d153f1
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/globalGroups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,10 @@ const globalGroups: RawGlobalGroup[] = [
rules: [
{
key: 0,
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*="关闭"]',
},
{
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*="关闭"]',
matches: [
'[name!$=".CheckBox"][childCount=0][visibleToUser=true][((text*="青少年" || text*="未成年") && text*="模式" || text*="儿童模式") || ((desc*="青少年" || desc*="未成年") && desc*="模式")]',
'[name!$=".CheckBox"][childCount=0][visibleToUser=true][text*="知道了" || text*="关闭" || desc*="知道了" || desc*="关闭"]',
],
},
],
apps: [...uniqueAppIdsYM].map((id) => ({ id, enable: false })),
Expand Down

0 comments on commit 3d153f1

Please sign in to comment.