Mozilla has a feature called Custom Keywords that lets you assign keywords to bookmarks. To assign a keyword, right-click a bookmark and select Properties. To use a keyword bookmarklet, type the keyword into the address bar.
A less well-known feature is that if the URL of a keyword bookmark contains %s, the %s is replaced by whatever you type after the keyword. The most common use of %s keyword bookmarks is for searches (e.g. http://www.google.com/search?q=%s).
grayrest came up with the idea of keyword bookmarklets. Here are some more. After bookmarking these, assign them keywords (right-click, properties). To use them, type (for example) "ja document.body" into your address bar.
Browser bugs you might encounter:
(To keep bookmarklets in order to use them on other web pages, drag them to your Bookmarks Toolbar. Or, install them all at once.)
Bookmarklet | Description | Works in | |||
---|---|---|---|---|---|
j (statement) | Executes the statement. Quiet unless an error occurs. Details | ||||
ja (expression) | Evaluates the %s expression and alerts the result. Details | ||||
jb (node) | Makes the node blink a few times. Details | ||||
jp (object) | Lists the properties and member functions of the object. Details | ||||
jcs (node) | Displays the differences in computed style between the node and its parent. Details |
Browsers: is Internet Explorer for Windows, is Netscape 7 or Mozilla, is Netscape 4, and is Opera.
Executes the statement. Quiet unless an error occurs.
Evaluates the %s expression and alerts the result.
Makes the node blink a few times.
Lists the properties and member functions of the object.
Displays the differences in computed style between the node and its parent.
Example: "jcs document.body"
© 2000-2007 Jesse Ruderman (jruderman@gmail.com). Feedback is welcome.
Last modified December 6, 2004.