阅读:3815回复:8
求一个仅翻译一段文字的“谷歌翻译”小书签
如题。
不要整页翻译的。 谢谢。 |
|
1楼#
发布于:2012-11-01 20:04
顺带问一下, 这个小书签如何放到手势或者按钮里面哪?哪位知道
|
|
|
2楼#
发布于:2012-11-01 20:04
intranslator 可以划去翻译,翻译字句都行, 这个最好, 当前需要设置
|
|
|
3楼#
发布于:2012-11-01 20:04
建议这插件
Google Translator for Firefox 有了这个附加组件,您就可以翻译任何文字到您的语言,只需一键点击或用快捷键。您可以翻译选定的文本,这样翻译的文本将覆盖原来选定的文本,或者您也可以翻译整个页面。 |
|
4楼#
发布于:2012-11-01 20:04
感谢taglife,要的就是这个,可惜是繁体的。
不过,还不错。 改了一下,成简体中文的了: 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/?text='+t+'&hl=zh-CN&langpair=auto|zh-CN&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&hl=zh-CN&langpair=auto|zh-CN&tbb=1&ie='+e;} |
|
5楼#
发布于:2012-11-01 20:04
正解是這個啦
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/?text='+t+'&hl=zh-TW&langpair=auto|zh-TW&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&hl=zh-TW&langpair=auto|zh-TW&tbb=1&ie='+e;} 選取要翻譯文字再點選, 這正體中文的 |
|
|
6楼#
发布于:2012-11-01 20:04
尚译的小书签吧。调用的google 翻译
|
|
|
7楼#
发布于:2012-11-01 20:04
看来,板凳是留给我的。
|
|
8楼#
发布于:2012-11-01 20:04
沙發
|
|
|