Skip to content

Commit

Permalink
更新`pageConfig 对象中regexpRules`属性(页面专项优先于全局)
Browse files Browse the repository at this point in the history
  • Loading branch information
maboloshi committed Feb 15, 2025
1 parent 1b458b6 commit 11c65f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@
},
// 正则词库
regexpRules: [
...I18N[CONFIG.LANG].public.regexp,
...(I18N[CONFIG.LANG][pageType]?.regexp || [])
...(I18N[CONFIG.LANG][pageType]?.regexp || []),
...I18N[CONFIG.LANG].public.regexp
],
// 忽略突变元素选择器(字符串)
ignoreMutationSelectors: [
Expand Down

0 comments on commit 11c65f5

Please sign in to comment.