Autologin
Automatically enters form values and submits the form, typically for autologin functionality. No support (yet) for frames or non-text-input form elements. To add an autologin: fill out the log-in form, make sure one of the form fields is focused (contains the caret), go to Tools > User Script Commands > Create autologin from form, and bookmark the generated URL. Visit that bookmark to autologin. Look at the script code for details and examples.
Allows special URLs that automatically enter form values and submit the form, typically for autologin functionality.
No support (yet) for frames or non-text-input form elements
h4. To add an autologin:
# fill out the log-in form,
# make sure one of the form fields is focused (contains the caret),
# go to Tools > User Script Commands > Create autologin from form, and bookmark the generated URL.
Visit that bookmark to autologin.
Look at the script code for details and examples.
*Please note* that the @include has changed to "*". You might have to make this change manually if you upgrade the script, due to Greasemonkey shortcomings.
You could comment on this script if you were logged in.
15 comments
You could comment on this script if you were logged in.

login to vote
Concerning my last comment, see https://bugzilla.mozilla.org/show_bug.cgi?id=37...
login to vote
Support for parameter values containing the '&' sign is broken again (see my comments at the bottom). This is due to the fact that
location.hashautomatically resolves any occurrence of '%26' into '&'. On the other hand,locationorlocation.hrefdo not do the conversion. Not sure whether a feature or a bug, because normally no '&'-separated 'param=value' pairs are expected after the '#' (no idea if the URL specs forbids this).login to vote
idon'tknow: You set keyboard focus on it, e.g. click inside some form field so that if you would press a letter key, it would appear in the field.
login to vote
i'm a total noob, how do i focus a form?
login to vote
Batshua: Weird. I see it with Fx 2.0.0.9. Are you looking under Tools > Greasemonkey > User Script Commands?
login to vote
I'm using Firefox 2.0.0.9. I *just* installed this script, so I have no saved sites. I can't get this script to work, by which I mean "Create autologin from form" doesn't appear in the menu where it belongs.
login to vote
"I'm using FF2.0 and I can't get this script to work. The Allow Password Remembering works great, though. I tested AutoLogin on Yahoo and Gmail and it didn't work for either. However the script "Gmail Auto-Login" works fine.
login to vote
Made it a lot easier to create autologins, by simply filling out the form and running a menu command. See description above.
Mysteriously Nameless User: Not really possible, I'm afraid, unless I'd fake out a "HTML prompt". Don't plan on doing that.
Matador: Don't have an account, but a quick test suggests this script should work with Hotmail.
Buggy Menot: auctionsniper.com does indeed not seem to work. Not really time to look into now, but perhaps it's a matter of them doing some onclick stuff that a submit() doesn't trigger.
login to vote
auctionsniper.com does not seem to work either. maybe i am doing something wrong?
login to vote
Would be nice to be able to login to hotmail accounts with this great tool.
login to vote
A little remark: In the current implementation of the prompt box for not given values, passwords are visible and not hidden by stars. Would it be possible to change this?
login to vote
Thanks, esquifit, added that piece of code. Also made it so that empty values are prompted for (e.g. "username=Blah&password=&foo=bar" will prompt you for the password).
login to vote
Regarding my previous comment: the solution amounts to just replacing 'q[1]' by 'decodeURIComponent(q[1])' in the last but one line of the script. In this way you can use the url-encoded values in the parameters string.
login to vote
Fine. Anyway, there's a problem with form parameters containing an '&'; in this case using '&' directly in the url causes the script to split the parameters list in a wrong way, whereas replacing it by '%26' doesn't work because this is not decoded back to '&'.
login to vote
Seems to work with Greasemonkey 0.6.3 but not with 0.6.2.