Force Firefox to Offer to Save or Remember Password for Yahoo!, Windows Live (MSN Passport), PayPal and Other Secure Websites
On some websites that emphasis security, the web pages will explicit request web browser to remove the offer and disable ability to save or remember the password to auto fill in the user name and password credentials on next visit. Such sites including many banks online banking services, Yahoo! (i.e. Yahoo! Mail), Windows Live ID (i.e. MSN Hotmail), PayPal and etc.
Normally, the request for web browser especially Mozilla Firefox so that it does not offer to remember password (and not saving any user ID and password) when user submit the login form or sign in page, and hence does not autofill on next visit is made by using autocomplete=”off” parameter.
Remember Password bookmarklet hacks and makes the Firefox browser ignores web site requests of not remember passwords temporarily, allowing users to save passwords (and hence the Firefox can auto-fill username and password the next time the same log in page is opened), even on sites that use autocomplete=”off” command.
The Remember Password bookmarklet only works on Mozilla Firefox browser, and on sites that use autocomplete=”off” attribute to prevent the browser from remembering passwords. If the site uses another method to break web browser’s password manager, such as having two password fields or submitting the form using JavaScript, this bookmarklet won’t help to enable or turn on password manager remembering feature.
JS Code:
javascript:(function(){var ca,cea,cs,df,dfe,i,j,x,y;function n(i,what){return i+" "+what+((i==1)?"":"s")}ca=cea=cs=0;df=document.forms;for(i=0;i<df.length;++i){x=df[i];dfe=x.elements;if(x.onsubmit){x.onsubmit=”";++cs;}if(x.attributes["autocomplete"]){x.attributes["autocomplete"].value=”on”;++ca;}for(j=0;j<dfe.length;++j){y=dfe[j];if(y.attributes["autocomplete"]){y.attributes["autocomplete"].value=”on”;++cea;}}}alert(”Removed autocomplete=off from “+n(ca,”form”)+” and from “+n(cea,”form element”)+”, and removed onsubmit from “+n(cs,”form”)+”. After you type your password and submit the form, the browser will offer to remember your password.”)})();
To use this bookmarklet, copy and paste the JavaScript to Firefox Location Bar and hit “Enter” just before submitting the form with password field. Alternatively, bookmark the bookmarklet, and then click on the “Save Password Bookmarklet” in Bookmarks when needed. Once the Java script is run, a confirmation dialog indicating how many form elements and forms have been affected will be shown.

Firefox browser will then offer to remember the password (as if default behavior when the website doesn’t set auto complete to off) when user submits the form. Click “Yes” to remember and store the password. Once the browser has saved the password (and user name) for the website, the status of auto completion or auto fill is ignored, and the bookmarklet is not required anymore.

After applying the Save Password Bookmarklet, Firefox will prompt to save password on websites which previously do not allowed to saved password and don’t let Password Manager automatically fill in and complete the user name and password fields.
Share and contribute or get technical support and help at My Digital Life Forums.
Related Articles
- Fix Firefox Does Not Save, Store or Remember Password On Some Sites Permanently for Always Auto-Complete
- Create a Secure and Strong Password using Password Chart
- Set and Force Gmail to Always Use Secure HTTPS Browser Connection
- Fix Vista Unable or Fail to Remember or Save Folder Types/Views Setting Error by Increasing BagMRU Cache Memory Size
- Backup, Save and Protect MSN (Windows Live) Messenger Emoticons and Contents with ConCon Retriever
- Download Free F-Secure F-Secure Internet Security Technology Preview (ISTP) for Windows Vista
- Unblock Yahoo and MSN (Windows Live) Messenger Blocked with Email Trick
- Login to Two Google, Gmail, Yahoo!, Windows Live Hotmail and Other Accounts with Google Chrome Incognito Mode
- Download TryAgain v3.2.0 Add-on to Refresh Websites Automatically in Firefox 3.0
- Force Firefox to Open Search Box Originated Result Page in New Blank Tab


























July 22nd, 2008 07:08
Thanks a lot for this tips !
July 22nd, 2008 21:00
This still doesn’t seem to work for paypal; it says it’s saving the password but it doesn’t autocomplete upon next login.
July 26th, 2008 17:11
It works for me. It doesn’t work really well with PayPal and Firefox 3 though. I have to wait for the page to finish loading, then click the (already filled in) email address for the autocomplete to take action.
July 27th, 2008 03:06
Similar method worked for me with Yahoo mail and Firefox 2. However, it doesn’t really work with Firefox 3. In Firefox 2, once you have everything set up, when you get to the login page everything is ready to go, you just click “Sign In”. In Firefox 3, the best I can get is this: you have to click “remember password” on your toolbar, then start typing your sign in name in the Yahoo ID field. It offers the full name, which you click, and then your password is filled in. Then you click “Sign In”.
I have seen similar reported elsewhere.
August 12th, 2008 15:33
I FOUND A WAY TO MAKE IT WORK IN FIREFOX 3!!!
Some web sites (web-based e-mail sites or banking web sites) have autocomplete=”off”. It is dangerous to turn this on, and one should only turn this on if one uses a Master Password in Firefox 3.
if one uses a Master Password and one wishes to turn this off, one needs to go to C:\Program Files\Mozilla Firefox\components, and comment out these lines in nsLoginManager.js:
// if (element && element.hasAttribute(”autocomplete”) &&
// element.getAttribute(”autocomplete”).toLowerCase() == “off”)
// return true;
August 13th, 2008 19:19
[...] промените във файла отново, след update! (3) Почерпих инфо оттук — потребителят, оставил този коментар, обаче, беше [...]
August 13th, 2008 22:04
[...] file again, after a Firefox update! (3) I used as base for my article information from this comment — but the user, which has left it, unfortunately, did not leave a name or URL, so I [...]
August 16th, 2008 03:28
[...] hence won’t store the password for AutoComplete or AutoFill. My Digital Life has published a Save Password Bookmarklet to force Firefox to save and remember the password on websites that using “AutoComplete=Off” setting to instruct browser to disable the [...]