Google Chrome can translate pages instantly. However, if you are used to safari, do not want to install Google Chrome, but also need to translate foreign pages in real time, then, see below:
Prerequisite: Open FirstSafari, tap Show-show Favorites Bar (or press the shortcut key directly?? B), the "Favorites Bar" appears under the Address bar.
method One:
1. Press the shortcut key? D, Add any Web page to your Favorites Bar first.
2. Right clickin your Favorites barjust add the page link button and click "Edit Address":
3, copy the following text, paste into the edit Address bar of the text box, click "Done":
- JavaScript: (function ()%7bvar%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);%7d) ()
Copy Code
4.Right-clickin your Favorites barjust add the page link button, click "Rename ..." and rename to "translate" or other custom name:
5. Drag the "Translate" button towhere you think the "Favorites bar" is easy to operate, such asto the right of your Favorites bar, complete.
Method Two:
1. Open the following link:
- http://labs.microsofttranslator.com/bookmarklet/
Copy Code2. Click the drop-down menu to the right of the red box to set your target language (e.g.: English):
3. Drag and drop "translate" to the topto the right of your Favorites bar, complete:
open a Foreign Language Web page (the system automatically determines the original language), click "Translate", wait a few seconds, see the results!
Original:
Translation:
See the ways to add instant translation in IE:
- Http://bbs.pcbeta.com/viewthread-1544214-1-1.html
Copy Code
also attached:
Google Web translation url (Method Step 3):
- javascript:{d=document;b=d.body;o=d.createelement (' Scri ' + ' pt '); O.setattribute (' src ', ' http:/ /translate.google.cn/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
Copy Codeyoudao Web page translation url (method one step 3):
- Javascript:%20void (function ()%20%7bvar%20element%20=%20document.createelement (' script '); Element.id%20=%20 ' Outfox_seed_js '; element.charset%20=%20 ' Utf-8 ', Element.setattribute (' src ',%20 ' http://fanyi.youdao.com/web2/seed.js? ') %20+%20date.parse (New%20date ()));d ocument.body.appendChild (element);%7d) ())
Copy Code
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Extend translation capabilities to Mac system browsers