MediaWiki:Common.js:修订间差异
无编辑摘要 |
无编辑摘要 |
||
| 第4行: | 第4行: | ||
for(e in elist) { | for(e in elist) { | ||
var str = e.innerHTML; | var str = e.innerHTML; | ||
str.replace(/番外/,"<font color=\"green\">番外</font>"); | str=str.replace(/番外/,"<font color=\"green\">番外</font>"); | ||
str.replace(/长故事/,"<font color=\"red\">长故事</font>"); | str=str.replace(/长故事/,"<font color=\"red\">长故事</font>"); | ||
str.replace(/故事/,"<font color=\"blue\">故事</font>"); | str=str.replace(/故事/,"<font color=\"blue\">故事</font>"); | ||
str.replace(/故事集/,"<font color=\"gray\">故事集</font>"); | str=str.replace(/故事集/,"<font color=\"gray\">故事集</font>"); | ||
str.replace(/设定/,"<font color=\"yellow\">设定</font>"); | str=str.replace(/设定/,"<font color=\"yellow\">设定</font>"); | ||
e.innerHTML = str; | e.innerHTML = str; | ||
} | } | ||