🌈 Sync 2026-11-18 05:00:52

This commit is contained in:
github-actions[bot] committed 2026-11-18 05:00:52 +08:00
1 parent 6c62142eb2
commit b7a82726de
3 files changed
+2 -3

No files matched your search

@@ -12,7 +12,6 @@ sed -i -E '
s/\([^()]*\.matches\)!=null\?[^:]*:window\.matchMedia\([^)]*\)\.matches/document.documentElement.dataset.darkmode!=null?document.documentElement.dataset.darkmode==="true":&/
s/\((Ld)\),[a-zA-Z0-9_$]+\.observe\(document\.body,\{attributes:!0,attributeFilter:\["theme"\]\}\)/(m=>{m.some(r=>\/^data-.*-mode$\/.test(r.attributeName))\&\&\1(),m.some(r=>r.attributeName==="data-darkmode")\&\&Dd()}),wl.observe(document.documentElement,{attributes:!0})/
# 3. 去除网络连接卡片中的软件源检测与配置
s/[a-zA-Z0-9_$]+\.networkInfo/&==="softSourceFailed"?"netSuccess":&/
s/,"softSourceFailed"|,softSourceFailed:\[[^]]*\]|:[^:?]*==="softSourceFailed"\?"source"//g