Is it possible to make this html form utility with javascript?

What I am looking for is a piece of javascript that I can put into my browser toolbar as a button, like the scripts on this page. My hypothetical script would work much like the Windows clipboard, except that it would copy an entire set of entries in a web form with the click of one button, and then paste those same entries back into a second form with identical fields.

I emphatically do not want a utility to save a bunch of field entries permanently for multiple re-use. There are already a zillion utilities to do just that.

The closest thing I’ve been able to find to what I want is a Firefox addon called “Formito”. It is very close, there are only one or two extra clicks. But it saves every filled-out form permanently, and it is browser-dependant as well, working only in (obviously) Firefox.

So…is it possible to create a utility like I’ve envisioned using just a bit of javascript in the toolbar?

Theoretically, yes, however since in these examples the entire javascript necessary to perform the functions is stored as a single javascript: URL, you may run into issues with the maximum allowable length of URLs in your browser. A more comprehensive solution might be to write a Greasemonkey script for the site in question.