blob: 920f4113819f266c90a3db194ff128127dac1b4e (
plain)
1
2
3
4
5
6
7
|
tabpages = document.getElementsByClassName("tab-page");
for(i=0; i < tabpages.length; i++){
e = tabpages[i];
e.innerHTML = e.innerHTML.replace(/English.*[a-z].*/gi,"「去英」");
e.innerHTML = e.innerHTML.replace(/\[.*[a-z].*\]/gi,"「去英」");
e.innerHTML = e.innerHTML.replace(/\<span.*\>[a-z].*?[a-z]\<\/span\>/gi,"「去英」");
}
|