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.
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
- Protect Firefox Password Manager Saved Passwords for Sites
- Fix IE8 Does Not Remember or Save Picture or Image Folder Location or Path Correctly
- Remove The Automatic Appearance of Your Password In The Password Box
- Automatically Save Download Files From Firefox To Desired Location Via Automatic Save Folder
- Firefox Add-on: Save Images to Save All Pictures from Opened Tabs
- How to Change Windows Live (Hotmail and Messenger) Password
- Recover Firefox Master Password with FireMaster Recovery Tool
- Hack and Decrypt Log On Password Stored In Firefox Browser With FirePasswordViewer










































December 3rd, 2009 01:21
To all, like myself. I found that I could automatically start Firefox in a private browser session and started using it. It however comes with two issues. 1) It will not auto fill your user name and password when you come on a site you at least have to type the first letter as if you had multiple logons for the site. 2) You loose the ability for Firefox to ask you if you want to remember the user name and password. I hope this helps a rare few people like me.
October 15th, 2009 20:13
Tried that for mail.yahoo.com in Ubuntu/Firefox 3.5.3. It not only crashes Firefox but the whole desktop (logout) and then when Firefox is opened again the settings have returned to default (not remember passwords).
August 14th, 2009 01:46
it seems doesn’t work for yahoo in FF 3.5.2.
but thanks.
August 13th, 2009 21:28
working no more, too bad
website say it blocked 1 or 2 fields but not works, site dont remember to save pass.. hotmail,yahoo,paypal… anyone, please anotther solution to fix this help us. thnaks.
June 23rd, 2009 07:49
Many thanks!
May 11th, 2009 20:35
maybe a dumb question but…is it save to use
February 4th, 2009 18:46
Is there a way to do this hack on Google Chrome? Thanks.
January 18th, 2009 02:55
Try deleting all of the passwords for the specific site that is not working (write them down first
) and then opening the site and hitting remember password.
Seems like it just need to be refreshed.
January 16th, 2009 09:07
I do not know if this bookmarklet works in FF3 specifically, didn’t try.I first found this nice article here, appreciated the method, but then I dragged and dropped a bookmarklet from the very old “jesse’s bookmarklets site”. I already knew(I have used different developer, search, zap etc bookmarklets for FF and for…IE6) to my FF3 toolbar. That worked in my FF3+ for Yahoo Mail(and I wrote a post in greek about that site).
January 11th, 2009 00:14
Thanks for the bookmarklet. It was extremely frustrating. Whenever I tried to sign in in Yahoo from Firefox, I had to type password and mail info. You can drag and drop the above “Save Password Bookmarklet” to the Bookmarks toolbar I believe.
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 [...]
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 13th, 2008 19:19
[...] промените във файла отново, след update! (3) Почерпих инфо оттук — потребителят, оставил този коментар, обаче, беше [...]
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;
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.
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 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 22nd, 2008 07:08
Thanks a lot for this tips !