bookmarklets

Stephen Ostermiller's Utilities Bookmarklets

Bookmarklets are useful peices of JavaScript code that you can save in your browser's bookmarks. When you then click this bookmark it will run the code against the current page rather than the usual "go to the bookmarked page" behavior of bookmarks.

Clear Cookies

Clears all cookies for the current page.
Installed size: 360 bytes
Source code: - for examining or modifying the Clear Cookies bookmarklet.
Browser compatability:
Firefox: Yes
Netscape: Yes
Internet Explorer: Yes
Opera: Yes
Mozilla: Yes
Safari: Yes
Konqueror: No
Categories: Cookies | Utilities

Extract Forms

Creates a new page that contains only the forms from the current page, with their current values.
Traverses all frames on the current page find the forms, pulls the form and its elements out into a new page. This breaks on forms that have an element named action, and forms that contain image elements that are not in the traversal list.

Once all the forms are in a new page, it is easy to save that page to a local file to store the form data, or to manipulate the form before submitting it again.

Installed size: 1224 bytes
Source code: - for examining or modifying the Extract Forms bookmarklet.
Browser compatability:
Firefox: Yes
Netscape: Unknown
Internet Explorer: Unknown
Opera: Unknown
Mozilla: Unknown
Safari: Unknown
Konqueror: Unknown
Categories: Form | Utilities

Forms to Homepage GET

Changes forms to submit using the GET method to the home page of the site.
Traverses all frames on the current page searching for forms and sets their method to GET and their action to /.

When a form submits via GET, its arguments are visible in the URL bar allowing them to be inspected. Changing the action to the homepage also often prevents a redirect from being issued that would make the arguments disappear. Unfortunately some sites have a redirect on the home page itself which would make this ineffective.

Installed size: 262 bytes
Source code: - for examining or modifying the Forms to Homepage GET bookmarklet.
Browser compatability:
Firefox: Yes
Netscape: Yes
Internet Explorer: Yes
Opera: Yes
Mozilla: Yes
Safari: Yes
Konqueror: Yes
Categories: Form | Utilities

Forms to GET

Changes forms to submit using the GET method rather than using POST.
Traverses all frames on the current page searching for forms and sets their method to GET.

When a form submits via GET, its arguments are visible in the URL bar allowing them to be inspected or the url to be bookmarked. Many servers are configured to accept parameters through either GET or POST so the functionality may be the same. There are, however, servers that will only accept POST forms.

Installed size: 301 bytes
Source code: - for examining or modifying the Forms to GET bookmarklet.
Browser compatability:
Firefox: Yes
Netscape: Yes
Internet Explorer: Yes
Opera: Yes
Mozilla: Yes
Safari: Yes
Konqueror: Yes
Categories: Form | Utilities

Remember Passwords

Allow the web browser to remember passwords, even when the site has password storage disabled.
Traverses all frames on the current page searching for forms and password boxes. If the form or password box has an "autocomplete=off" setting, it turns autocomplete back on, allowing the web browser to remember the passwords.
Installed size: 500 bytes
Source code: - for examining or modifying the Remember Passwords bookmarklet.
Browser compatability:
Firefox: Yes
Netscape: Yes
Internet Explorer: N/A
Opera: N/A
Mozilla: Yes
Safari: N/A
Konqueror: N/A
Categories: Password | Utilities

View Passwords

View the contents of all the password fields in the page which are normally hidden by ****.
Traverses all frames on the current page searching for password boxes. It collects all the passwords and displays them in plain text in a popup window.
Installed size: 430 bytes
Source code: - for examining or modifying the View Passwords bookmarklet.
Browser compatability:
Firefox: Yes
Netscape: Yes
Internet Explorer: Yes
Opera: Yes
Mozilla: Yes
Safari: Yes
Konqueror: Yes
Categories: Password | Utilities