Bookmarklets

From Apertium
Revision as of 09:12, 2 February 2010 by Unhammer (talk | contribs) (Maybe we could have this on the Surf and Translate page?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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. Simply drag one of the links below onto your Bookmarks Toolbar in Firefox (if the toolbar isn't visible, go to View->Toolbars):

[javascript:location.href='http://www.apertium.org/apertium-www/common/browser.php?mark=0&dir=nb-nn&inurl='+encodeURIComponent(location.href) Bokmål->Nynorsk] [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)]