bookmarklets

Stephen Ostermiller's Form 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.

Append Signature

Appends the specified text to all text areas on a page
When posting to various forums, blogs, and other sites that allow comments, use this bookmarklet to put your name at the bottom of each of your posts.
Installed size: 195 bytes
Source code: - for examining or modifying the Append Signature bookmarklet.
Browser compatability:
Firefox: Yes
Netscape: Unknown
Internet Explorer: Unknown
Opera: Unknown
Mozilla: Unknown
Safari: Unknown
Konqueror: Unknown
Categories: Signature | Form

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