Last active
August 24, 2022 09:29
-
-
Save jackiewu/38f0c023b58abf3adfd46d211676ba4b to your computer and use it in GitHub Desktop.
網頁翻譯: 簡體中文 <-> 繁體中文
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 在瀏覽器網址列輸入以下程式碼,或者是新增一個我的最愛項目,把網址的內容改為以下即可。 | |
// 搜尋currentEncoding=2,targetEncoding=1 (簡轉繁)反之(繁轉簡)請自行修改 | |
javascript:"use strict";var ts=document.createElement("script");ts.setAttribute("src","https://52.197.103.234/chinese_convert.js");var _document$getElements=document.getElementsByTagName("head"),head=_document$getElements[0];head.appendChild(ts),ts.onload=function(){currentEncoding=2,targetEncoding=1,translateBody()}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment