swisspig.net - To hell with the pig... I'm going to Switzerland.

Autocomplete Annoyances (Thursday, July 7, 2005)

I'm sure someone out there besides me is annoyed by this and is looking for a workaround. Recently my bank revamped their Web site and thought it would be cute to cause the browser not to remember your user name and password. This would be fine, if they allowed you to use a decent password, but they have weird rules that don't allow my usual password for strongly encrypted sites. So I had to make up yet another password. And then it doesn't want me to use the browser to remember it? Screw that. I use Mozilla so that I control my browsing experience. And sure enough, it is possible to turn off this little annoyance.

So, the specific code is <form ... autocomplete="off">. For example, this form uses that code, and won't save your entry:

<form name="form1" method="post" action="/" autocomplete="off">
<input name="username1" /><br />
<input type="password" name="password1" /><br />
<input type="submit" />
</form>
But this one is just a normal form and will:
<form name="form2" method="post" action="/">
<input name="username2" /><br />
<input type="password" name="password2" /><br />
<input type="submit" />
</form>

To fix this, so that it ignores the (nonstandard!) autocomplete attribute, find your Mozilla prefs.js file (it could be userprefs.js, firefox.js, or something like that) and add the following:

pref("wallet.crypto.autocompleteoverride", true);

You'll need to restart your browser for this to take effect, but after you do, both example forms above should be able to save your text between reloads.

—Brian (7/7/2005 11:24 AM)
(0 comments)

Comments

No comments.

Name
URL
Comment
(no html)
 

Disclaimer: Opinions on this site are those of Brian Ziman and do not necessarily
reflect the views of any other organizations or businesses mentioned.