Difference between revisions of "Bookmarklets"
Jump to navigation
Jump to search
(Maybe we could have this on the Surf and Translate page?) |
(bah wiki doesn't allow javascript bookmarks) |
||
Line 1: | Line 1: | ||
'''Bookmarklets''' are special buttons you add to your browser's Bookmarks Toolbar. You can have a bookmarklet that starts a Surf and Translate with Apertium with your favorite language pair. |
'''Bookmarklets''' are special buttons you add to your browser's Bookmarks Toolbar. You can have a bookmarklet that starts a Surf and Translate with Apertium with your favorite language pair. The wiki software unfortunately doesn't allow fancy javascript links, but you can copy a bunch from [http://unhammer.wordpress.com/2010/02/02/bookmarklets-for-translating-web-pages-with-apertium/ this blog post]. |
||
<a href="javascript:location.href='http://www.apertium.org/apertium-www/common/browser.php?mark=0&dir=nb-nn&inurl='+encodeURIComponent(location.href)">Bokmål->Nynorsk</a> |
|||
[javascript:location.href='http://www.apertium.org/apertium-www/common/browser.php?mark=1&dir=nb-nn&inurl='+encodeURIComponent(location.href) Bokmål->Nynorsk (show unknown words)] |
|||
[javascript:location.href='http://www.apertium.org/apertium-www/common/browser.php?mark=0&dir=nb-nn&inurl='+encodeURIComponent(location.href) Nynorsk->Bokmål] |
|||
[javascript:location.href='http://www.apertium.org/apertium-www/common/browser.php?mark=1&dir=nn-nb&inurl='+encodeURIComponent(location.href) Nynorsk->Bokmål (show unknown words)] |
Revision as of 09:38, 2 February 2010
Bookmarklets are special buttons you add to your browser's Bookmarks Toolbar. You can have a bookmarklet that starts a Surf and Translate with Apertium with your favorite language pair. The wiki software unfortunately doesn't allow fancy javascript links, but you can copy a bunch from this blog post.