Bookmarklets are bookmarks that contain JavaScript code and can run them in your browser. To install the bookmarklet, highlight the text (including the JavaScript:) and drag it up to your bookmarks bar (ctrl + shift + b if you don't see it) and then rename the bookmark to what you want. Make sure the JavaScript code is in the URL part of the bookmark.
Featured Bookmarklets: