返回列表 发帖
本帖最后由 icc120 于 2014-5-22 19:19 编辑

javascript:var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var e=(document.charset||document.characterSet);if(t!=''){window.open('http://translate.google.com/?text='+t+'&hl=zh-CN&langpair=auto|zh-CN&tbb=1&ie='+e);}else{window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&hl=zh-CN&langpair=auto|zh-CN&tbb=1&ie='+e);};


新建个收藏 名字翻译,把上面的代码放到地址上...放到收藏栏上,翻译网站的时候点一下...今天刚学会的
http://bbs.kafan.cn/thread-1449324-1-1.html  这里找的

TOP

本帖最后由 icc120 于 2014-7-13 23:49 编辑

就是新建个书签,收藏栏上右键,添加网页,把代码复制到地址上,名称改成google翻译需要翻译网页的时候,点这个书签就好了.能连上google,这个书签就能用.
有个和这个书签脚本差不多的,有道翻译2.0也不错,http://fanyi.youdao.com/web2/  这网页上有提示的怎么用的.

TOP

返回列表