Greasy Fork is available in English.

汉化基础套件

try to take over the world!

Dette scriptet burde ikke installeres direkte. Det er et bibliotek for andre script å inkludere med det nye metadirektivet // @require https://greasyfork.org/scripts/29699-%E6%B1%89%E5%8C%96%E5%9F%BA%E7%A1%80%E5%A5%97%E4%BB%B6/code/%E6%B1%89%E5%8C%96%E5%9F%BA%E7%A1%80%E5%A5%97%E4%BB%B6.js?version=220314

Forfatter
ChuckIsReady
Vurderinger
0 0 0
Versjon
0.2
Lagd
Oppdatert
Lisens
I/T
Gjelder
Alle sider

Forfatterens beskrivelse

很方便就可以创建一个网站的汉化脚本
引用这个库
然后简单的一行代码就能完成汉化
上吧少年!

//直接文本替换
//CN([["JavaScript","2333"],["JS","僵尸"],["DOOM","末日"]]);

//指定id元素文本匹配替换
//CNId([["oneElementId","JS","僵尸"],["otherElementId","DOOM","末日"]]);

//指定id元素文本直接替换
//CNIdEasy([["oneElementId","僵尸"],["otherElementId","末日"]]);

//指定Class元素文本匹配替换
//CNId([["oneElementClass","JS","僵尸"],["otherElementClass","DOOM","末日"]]);

//指定Class元素文本直接替换
//CNClassEasy([["oneElementClass","僵尸"],["otherElementClass","末日"]]);

//暂停运行s毫秒
//CNsleep(3000)