Form linker accessory for IE5
This thing's still in the alpha (i.e. quick hack of an evening) stage, but this IE5 Web Accessory adds a "Link this Form" item to the IE right-click menu. Any time you're looking at a form you'd like to link, just choose the option from the context menu. The little client-side script does all the HTML twiddling that the server-side proxy does, so all that's left is to submit the form. Done!
How to install
- Download this teeny-tiny zip file.
- Extract the yozlink1.htm file to a safe place - I suggest
C:\Windows\Web\ (on Windows9x/ME) or C:\WINNT\Web\ (on Windows NT/2000).
- Extract the yozlink.reg to a temporary place where you can edit it. Don't run it yet!
- Right-click the .reg file and choose "Edit". Change the path in the last line to reflect the place where you put the .htm file. Oh, and remember to use double-backslashes, like it has already. Save it and close Notepad.
- Double-click the .reg file and say yes, you do want to insert the new data into the registry.
- Shut down all your IE windows. Next time you open one up, right-click anywhere in the window and you should see "Link this Form" in the pop-up menu!
If you find any bugs, tell me.
Some notes
- At the moment, the script will only twiddle the forms in the active document frame, not any other frames. I'll fix this later.
- You can enter the data, realise you want to reroute to the linker, do the reroute and submit, and it'll still work. (Not because of any cleverness on my part, I assure you.)
- The script should be pretty portable to any DOM-compliant browser, since it's all valid DOM apart from the first line. I think. It's prime for being an IE5-Mac bookmarklet, anyway, if any Mac-owners want to have a go.
- Mozilla version coming soon, if it's as easy as it looks. Netscape 4 won't do it easily if at all.
- By changing the "f.action = " line in the script you can reroute the form data anywhere
you like. In testing I used http://yoz.com/cgi-bin/htq.cgi
which just spits out all the data it received.