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
- Fix IE8 Does Not Remember or Save Picture or Image Folder Location or Path Correctly
- 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
- S10 Password Vault to Store Passwords Securely
- Fix Vista Unable or Fail to Remember or Save Folder Types/Views Setting Error by Increasing BagMRU Cache Memory Size










































October 28th, 2009 08:02
I use Vista 64 and renaming and/or deleting the .sqlite file DID NOT WORK for me. F*** Firefox I’ll use another browser that isn’t so annoying.
September 18th, 2009 08:30
rename cookies.sqlite to cookies.sqlite.OLD
that works 4 me
August 14th, 2009 05:35
Just tested on Firefox v3.5.2 on a Mac and works brilliantly, thanks!
Not sure if it’s been posted before but on the Mac the file is in the Firefox app “folder”:
Go into Applications, right click on the Firefox app and go to Show Package Contents. Then go into Contents, MacOS, components and there’s the file
August 5th, 2009 23:32
I’ve been using this fix for some time on firefox, but when I applied it to a download (8/4/09) of 3.5.2 (upgraded from 3.12), it DOES NOT WORK! Anybody else with this issue?
July 31st, 2009 19:04
Goo job! Thx!
Worked well on 3.5.1.
Helpful article.
ND
July 29th, 2009 03:50
I had found a used this fix before. But the nsLoginManager.js file must have reset when I installed 3.5.1. Now when I make the changes in notebook, I am not allowed to save the file. Any Ideas?
July 15th, 2009 11:46
How about forcing fx to remember password only for some specific sites?
I tried adding “ && document.domain != “www.somedomain.com” ” to that “if” statement instead of commenting it out, but I’m not to proficient in js and it didn’t seem to work.
Any thoughts?
Cheers!
July 13th, 2009 23:30
I want to try this but don’t know where to find the Firefox profile on my Mac so that I can make the changes. Thanx.
July 10th, 2009 01:25
Worked well on 3.5.
Note:
I can see a potential problem with some people -
There’s a “.TXT” file with the same name that’s easy to read in Notepad – that’s NOT the right file to modify.
The right file is the “.JS” file.
In XP Pro, the file doesn’t have line numbers in Notepad, so, it’s Search (control F) for “autocomplete”, till you find the right sequence of commands and then comment “” them out.
Thanks for the great article.
Mozilla seems to update the loginmanager.js when you update.
CG