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

**URL:** https://boards.straightdope.com/t/is-it-possible-to-make-this-html-form-utility-with-javascript/561117
**Category:** Factual Questions
**Created:** [November 18, 2010, 5:58pm UTC](https://boards.straightdope.com/t/is-it-possible-to-make-this-html-form-utility-with-javascript/561117 "2010-11-18T17:58:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Weird\_AL\_Einstein](https://avatars.discourse-cdn.com/v4/letter/w/c67d28/32.png) [@Weird\_AL\_Einstein](https://boards.straightdope.com/u/Weird_AL_Einstein)
#### Post date: [November 18, 2010, 5:58pm UTC](https://boards.straightdope.com/t/is-it-possible-to-make-this-html-form-utility-with-javascript/561117/1 "2010-11-18T17:58:28Z")

</div>

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](http://operawiki.info/BookMarklets#forms). 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”.](https://addons.mozilla.org/en-us/firefox/addon/244904/) 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?

---

<div class="post-metadata">

### Author: ![\_cc](https://avatars.discourse-cdn.com/v4/letter/_/e19b73/32.png) [@\_cc](https://boards.straightdope.com/u/_cc)
#### Post date: [November 20, 2010, 8:03am UTC](https://boards.straightdope.com/t/is-it-possible-to-make-this-html-form-utility-with-javascript/561117/2 "2010-11-20T08:03:51Z")

</div>

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](http://www.greasespot.net/) script for the site in question.
