MozTW 討論區 https://forum.moztw.org/ |
|
Google 翻譯工具問題 https://forum.moztw.org/viewtopic.php?f=11&t=27865 |
第 1 頁 (共 1 頁) |
發表人: | cjl016 [ 2009-09-03, 22:05 ] |
文章主題 : | Google 翻譯工具問題 |
我目前使用的是Google 翻譯網站的自製書籤列工具 但是按下翻譯時,會直接把原始網頁翻譯 請問能否實現按下翻譯時,保留原始網頁,另開新分頁翻譯 以下為Google 翻譯工具的代碼 javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com.tw/translate_t?text='+t+'&hl=zh-TW&langpair=auto|zh-TW&tbb=1&ie='+e;}else{location.href='http://translate.google.com.tw/translate?u='+escape(location.href)+'&hl=zh-TW&langpair=auto|zh-TW&tbb=1&ie='+e;}; |
發表人: | dantes [ 2009-09-04, 11:24 ] |
文章主題 : | Re: Google 翻譯工具問題 |
參考 Mozest 社區 利用google翻譯的「自動檢測語言」 將zh-CN用zh-TW取代 |
發表人: | cjl016 [ 2009-09-04, 22:11 ] |
文章主題 : | Re: Google 翻譯工具問題 |
dantes 寫: 已實現想要的效果 謝謝dantes大大 ![]() |
第 1 頁 (共 1 頁) | 所有顯示的時間為 UTC + 8 小時 |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |