其实楼主你可以用小书签(实际上是javascript)实现此功能,至于小书签的使用方法也很简单:只要像平时从收藏夹打开网址那样,单击写着JavaScript代码的书签(也就是小书签)就可以了,而小书签的制作方法也很简单,只要在收藏夹里添加网址(或者更简单点的按快捷键ctrl+D(此快捷键是添加当前页面的意思)),然后把代码写进“地址”那一个输入框,然后保存就行了。然后,我就发两个代码:
微软的必应翻译代码:
javascript:(function(){var%20s%20=%20document.createElement('script');%20s.type%20=%20'text/javascript';%20s.src%20=%20'http://labs.microsofttranslator.com/bookmarklet/default.aspx?f=js&to=zh-chs';%20document.body.insertBefore(s,%20document.body.firstChild);})()
--------------------------------------------------------分割线--------------------------------------------------
Google的谷歌翻译代码:
javascript:{d=document;b=d.body;o=d.createElement('scri'+'pt');o.setAttribute('src','http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit');o.setAttribute('type','text/javascript');b.appendChild(o);v=b.insertBefore(d.createElement('div'),b.firstChild);v.id='google_translate_element';v.style.display='none';p=d.createElement('scri'+'pt');p.text='function%20googleTranslateElementInit(){new%20google.translate.TranslateElement({pageLanguage:%22%22},%22google_translate_element%22);}';p.setAttribute('type','text/javascript');b.appendChild(p);}void%200