Help:Tips and tricks/Bookmarklets

What is a bookmarklet? Usually, it is a piece of JavaScript that is meant to be pasted into your browser's url bar. Instead of cutting-n-pasting it every time, it is useful to create a bookmark (or favourite) containing the code. That is, instead of making a bookmark pointing to, for instance, http://en.wiktionary.org, point it to any of the following codes. For them to work, make sure JavaScript is enabled in your browser.

When on any webpage, select a word and then hit the bookmarklet. It should take you to the Wiktionary page for that word. This may or not work, depending on the website. It should definitely work on any Wikimedia site.

If no word is selected, a pop-up window appears, letting you enter one instead.