<br />
<br />
忘了在哪儿看到的了,现在分享给大家:<br />
<br />
在chrome里新建书签,名字“有道翻译”,地址为:<br />
javascript: void((function() {var element = document.createElement('script');element.id = 'outfox_seed_js';element.charset = 'utf-8',element.setAttribute('src', 'http://fanyi.youdao.com/web2/seed.js?' + Date.parse(new Date()));document.body.appendChild(element);})())<br />
<br />
必应的:<br />
javascript: (function(){var s = document.createElement('script'); s.type = 'text/javascript'; s.src = 'http://labs.microsofttranslator.com/bookmarklet/default.aspx?f=js&to=zh-chs'; document.body.insertBefore(s, document.body.firstChild);})()<br />
<br />
google的:<br />
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!=''){location.+t+'&hl=zh-CN&langpair=auto|zh-CN&tbb=1&ie='+e;}else{location.+encodeURIComponent(location.href)+'&hl=zh-CN&langpair=auto|zh-CN&tbb=1&ie='+e;};<br />
<br />
在外文页面点这个书签就可以翻译了。 |