A bookmarklet is a little piece of bookmarkable javascript code that can be used to automate the browser in various ways.

The definitive list of bookmarklets can be found at bookmarklets.com

See also Bookmarklet As Intermediary


  • Use void to discard results of an expression, otherwise they may be displayed in the current window
  • Beware of frames
  • Use maximum of ~500 characters unless you use a Bookmarklet Bootloader
  • Use prompt to grap single line of input (possibly multiple times)
  • Use DOM to get access to complete page, and fall back to regexps to parse additional content
  • You can add elements to the DOM, including new attributes, CSS styling and event handlers thereby enriching the original page.
  • Provide different versions of a bookmarklet for different browsers, rather than including browser sniffing directly in the bookmarklet. It'll bloat the code.
  • Udell has an example of setting a cookie from someone elses domain. Hmmm....

MT Bookmarklets aren;t that clever. They just grab the currently selected text (if any), the window title and current location and pass those as parameters to an MT page viewed in a separate window.

Add new attachment

In order to upload a new attachment to this page, please use the following box to find the file, then click on “Upload”.
« This page (revision-1) was last changed on 17-Mar-2003 09:44 by unknown [RSS]