diff options
-rw-r--r-- | zdic.js | 13 | ||||
-rw-r--r-- | 去英.zip | bin | 4329 -> 4455 bytes |
2 files changed, 13 insertions, 0 deletions
@@ -5,3 +5,16 @@ for(i=0; i < tabpages.length; i++){ e.innerHTML = e.innerHTML.replace(/\[.*[a-z].*\]/gi,"「去英」"); e.innerHTML = e.innerHTML.replace(/\<span.*\>[a-z].*?[a-z]\<\/span\>/gi,"「去英」"); } + +foreignSpans = document.getElementsByClassName("encs"); +for (i = 0; i < foreignSpans.length; i++) { + s = foreignSpans[i]; + s.innerHTML = s.innerHTML.replace(/.*/,"「去英」"); +} +paragraphs = document.getElementsByTagName("p"); +for(i=0; i < paragraphs.length; i++){ + p = paragraphs[i]; + p.innerHTML = p.innerHTML.replace(/\<span.*z_ts2.*\>德语\<\/span\>.*/,"「去英」"); + p.innerHTML = p.innerHTML.replace(/\<span.*z_ts2.*\>英语\<\/span\>.*/,"「去英」"); + p.innerHTML = p.innerHTML.replace(/\<span.*z_ts2.*\>法语\<\/span\>.*/,"「去英」"); +} Binary files differ |