Fix Firefox Does Not Save, Store or Remember Password On Some Sites Permanently for Always Auto-Complete
Firefox web browser has built-in password manager that able to save, store or remember user name, ID and password credentials to auto-fill and auto-complete the login or logon text fields on next and subsequent visits. However, on some sites, Firefox, including both Firefox version 2 and Firefox 3, fails or does not prompt and offer user a choice to remember and save the password, and 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 password saving feature.
However, the JavaScript based bookmarklet has to be ran and triggered each time whenever user wants Firefox to prompt options to remember the password on otherwise won’t allow password saving site. And some user complains that the bookmarklet hack does not work properly in Firefox 3 to force Firefox to save and store the password.
Here’s another trick to make Firefox ignore all disabled or turned off AutoComplete request by websites, such as PayPal, Yahoo!, email services, Internet Banking, and many other secure sites, so that the browser will offer user a choice to remember or save the password or not permanently. Again, the hack only works on websites that use “AutoComplete=Off” parameter to disable the password saving feature in web browser.
To permanently enable user ID and password Auto Complete on all websites and web pages regardless of website setting, go to C:\Program Files\Mozilla Firefox\components folder, and edit the nsLoginManager.js file.
Locate the following lines of code (around line 725 to 727 in Firefox 3), and the comment out the lines by adding // (double slash) in front of the lines.
Before:
if (element && element.hasAttribute("autocomplete") &&
element.getAttribute("autocomplete").toLowerCase() == "off")
return true;
After:
// if (element && element.hasAttribute(”autocomplete”) &&
// element.getAttribute(”autocomplete”).toLowerCase() == “off”)
// return true;
After editing, save the file and restart Firefox browser, and now all passwords can be saved.
Related Articles
- Force Firefox to Offer to Save or Remember Password for Yahoo!, Windows Live (MSN Passport), PayPal and Other Secure Websites
- Protect Firefox Password Manager Saved Passwords for Sites
- Disable Firefox 3 Auto Save Tabs on Close to Prompt for Choice
- How To Store Every Post Revisions on Each Auto-Save in WordPress with Limit on Versions Count
- 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
- Remove The Automatic Appearance of Your Password In The Password Box
- Fix Vista Unable or Fail to Remember or Save Folder Types/Views Setting Error by Increasing BagMRU Cache Memory Size
- S10 Password Vault to Store Passwords Securely
- Recover Firefox Master Password with FireMaster Recovery Tool










































April 2nd, 2009 22:03
This worked great for me—Firefox decided to stop saving the password to a site I am at SEVERAL times a day and was about to drive me bat—t. This worked great!! You can get editpad lite for free and it can search right to the lines you need to edit, although you may need to change the js file association properties in C>Tools>Folder Options>File Types. Once you allow notepad to open it, use editpad to search right to the line, edit as instructed and it worked like a dream.
March 14th, 2009 09:29
This is an awesome tip! Thank you! I Love you
March 2nd, 2009 06:21
y i can’t save the js file?Any trick required? it says ‘make sure the path and file name are correct..
February 26th, 2009 23:38
[...] additional property that can be set on and off for each field on any given html page. So, we need a fix for Firefox in order to forget that [...]
February 6th, 2009 18:15
skylos, you have mentioned it. Thanks.
February 6th, 2009 16:43
Why is there no mention of the dude (Tonycosus) that pointed out this method on the previous article on Save Password Bookmarklet, comment #5?
January 27th, 2009 21:18
On Debian Linux (and I assume Ubuntu), the file you need is here:
/usr/lib/xulrunner-1.9/components/nsLoginManager.js
January 22nd, 2009 10:52
It won’t cause such behavior I guess. Sorry for what happens though.
January 22nd, 2009 10:42
your bloody tutorial caused me to lose my bookmarks, passwords & stuffed up all my addons. maybe you should put a warning at the start of your article.
December 10th, 2008 03:02
Thanks to everyone here. Fix worked great! I didn’t lose my old passwords but I did have the problem saving the edited file. I followed Ripley’s instructions and saved the edited file on my desktop. I skipped one step though and just cut/pasted the new file into the /components folder and overwrote the old file.
Thanks again!
Byron
November 21st, 2008 02:22
God! Thank you so much for this! I’ve been having this problem ever since Firefox 3 launched so I had to keep going back to Firefox 2 for this reason, but eventually Firefox 2 started having lots of issues and I had to ultimately upgrade to version 3, but this kept happening and it was driving me nuts! Thanks so much, it’s been finally solved!
November 13th, 2008 12:30
thanks loads; works great. also, for the two previous posts (ken & ward), this is yet another vista UAC ‘feature,’ ahem. a work-around: edit the file as above, but save it (with same file name) in another directory on c:/. close firefox, navigate to the /components directory as above, and delete the original file. navigate to the directory with the edited version and move it to /components. restart ff, and the fix works like a champ. why vista won’t let you save the edited file but will let you delete the original is another vista mystery (vistery?) for the ages….
November 7th, 2008 20:12
Also cannot save nsManagerLogin.js in Vista with Notepad. Yes, Save as type set to *.* Is the encoding something other than ANSI?
October 26th, 2008 08:45
I need a bit of help. I open up nsLoginManager.js in Dreamweaver, and edit the // into the three lines. When I go to save it, it says; Access to C:\Program Files\Mozilla Firefox\components\nsLoginManager.js was denied.
I’m on Vista Home, and using Firefox 3.
October 20th, 2008 22:52
[...] had the same problem. Jump over to: Fix Firefox Does Not Save, Store or Remember Password On Some Sites Permanently for Always Auto-Comp… Follow the procedures and it will even start saving your Yahoo, PayPal, etc. sign-in information. [...]
October 19th, 2008 02:02
I have the same problem but it is with Internet Explorer. Is there a fix for IE?
September 10th, 2008 09:05
Thank you so much for this, I always thought this was some firefox bug.
@Kent Slimm: You should be able to edit the file in notepad or any other text editor just fine.
September 3rd, 2008 07:39
This works perfectly for both of my installations of Firefox 3. Thank you very much!
September 2nd, 2008 18:24
Works great ! thanks a lot!
August 29th, 2008 22:26
Basic question: Do I need a special JavaScript editor to do this? If so, is there one that’s uncomplicated and free that you recommend? It doesn’t seem to work to open this file with Notepad. I’m running XP Home.
August 21st, 2008 14:18
@strygi:
Normally, you should not lose your saved passwords after editing nsLoginManager.js.
(I have tested the method successfully.)
Passwords are usually stored in the Firefox profile folder (on WinXP it is here):
C:\Documents & Settings\\Application Data\Mozilla\Firefox\Profiles\
and C:\Program Files\Mozilla Firefox\ does not interfere with it:)
In your case, after you have re-installed the browser, maybe some minor error was fixed somewhere and passwords re-appeared normally – but they were there all the time, maybe just ‘hidden’, in the profile data:)))
August 19th, 2008 00:26
If you loose passwords in mozilla after this edit. Here is how to fix it:
1, Download firefox installation file
2, Start uninstall firefox but DO NOT mark the option – “Remove my Firefox personal data and customizations”
3, When is firefox uninstalled install it again – step 1.
And it will be OK
August 18th, 2008 23:38
I did it…
All of my saved passwords are gone.
Even passwords for gmail checker add-on disappeared.
Please help, what now?
I re-edit it back and still nothing.
What to do now?
August 18th, 2008 18:04
[...] Via | My Digital Life [...]