叠尼🐴呢?

This commit is contained in:
xmcp
2019-06-15 11:51:07 +08:00
parent 00ee08f4de
commit a61102dde5
3 changed files with 9 additions and 0 deletions

View File

@@ -6,6 +6,9 @@ export function split_text(txt,rules) {
// rules: [['name',/regex/],...]
// return: [['name','part'],[null,'part'],...]
if(window.config.easter_egg && txt.indexOf('浏览器咑閞')!==-1)
return [['disable',txt]];
txt=[[null,txt]];
rules.forEach((rule)=>{
let [name,regex]=rule;