Firefox not Saving Passwords: Fix & Main Causes

Normally when you login to a website, you will notice that your Firefox or Chrome web browser will prompt you to remember or save the password. This is a very useful feature from web browser that offers the convenience of automatically logging in to websites without manually typing the username and password. Some users are concerned about the safeness in saving their password but they can rest assured that they will stay safe when it is encrypted with a master password.

You may have noticed that your web browser does not seem to ask you to save the password for certain websites such as PayPal, online banking websites like Citibank and etc. This is not due to a possible faulty password manager but rather that the login page containing a piece of code that is used as a standard to tell the web browser not to prompt the user to save the password for security reasons. Here is the HTML source code of the PayPal’s login webpage that has an autocomplete=”off” added to the password input box.

Autocomplete=off

If you are looking for ways to bypass the autocomplete=off and force your web browser to save the password on all websites, here are a few workarounds.

1. Add-on Extension

Installing an extension is probably the easiest method because you do not need to manually hack any files. All you need to do is install this plugin called Remember Passwords and it works right out of the box without any configuration.

Download Remember Passwords


2. Greasemonkey User Script

If you already have Greasemonkey extension installed, you may as well install a user script called “Allow Password Remembering” rather than installing another plugin to do the job. Basically this user script removes the autocomplete=”off” from the HTML. Although this script is dated back in 2005, but it works perfectly on some of the websites that we have tested.

Download Allow Password Remembering


3. Bookmarklet

Using bookmarklet is great for people who prefers more control. This would mean that by default your web browser will still respect the autocomplete=off value but you can still force to save the password by clicking on the bookmarklet that you’ve added to the bookmark toolbar and then followed by logging in. We have tested it on PayPal and it works perfectly.

Autocomplete Bookmarklet

Do note that it is reported that the bookmarklet method is not that reliable and there are a few alternate versions available.

Remember Password


4. Hacking the omni.ja

For users that do not like to install 3rd party scripts or plugins or perhaps they already have tons of them installed, here is how you can manually disable the autocomplete=”off” in Firefox.

– First you need to use an archiver such as WinRAR, PowerArchiver, Bandizip that is able to open the omni.ja file found in the folder where Firefox is installed. (Normally it is at C:\Program Files\Mozilla Firefox). From the archiver, go to jsloader\resource\gre\components\ and delete the nsLoginManager.js file.

– Then still from the archiver, go to components folder and edit the nsLoginManager.js with a text editor such as Notepad++ that is able to handle unix-style line breaks.

– Search for _isAutoCompleteDisabled in the nsLoginManager.js file and delete the part that is highlighted in yellow. Save the changes and click on the yes button when the archiver prompts you to update the nsLoginManager.js with the modified version.

nsloginmanager

Alternatively, you can just download the modified omni.ja file from Firefox 21 that ignores the autocomplete=”off” for Windows or Mac OS X and replace it with the ones that is on your computer. As you can see from the screenshot below, Firefox prompts to remember the password in PayPal.

PayPal Save Password

Editor’s Note: By using any of the 4 methods above to remove or ignore the autocomplete=off from the HTML source code, it would work on most traditional login webpages. However it will still not work for some websites that uses more complex methods to login, for example the new Hotmail/Outlook.com. So far we can confirm that LastPass, an excellent cloud based password manager is able to automatically login to Hotmail/Outlook.com.

31 Comments - Write a Comment

  1. Juraj Mäsiar 6 years ago
    • Denis 6 years ago
    • Greg 5 years ago
    • Jason 5 years ago
    • Stefan 5 years ago
    • Marc 4 years ago
  2. Anon 6 years ago
  3. Army One 7 years ago
    • Alin 6 years ago
  4. Mario Moura 7 years ago
  5. Robert 8 years ago
  6. Pj 8 years ago
    • HAL9000 8 years ago
  7. CoffeeAddict 8 years ago
  8. danial 8 years ago
  9. CoffeeAddict 11 years ago
  10. Anise 12 years ago
  11. Kev 15 years ago
  12. fleeto b 15 years ago
  13. addrick 15 years ago
  14. andrew 16 years ago
  15. steve 16 years ago
  16. teekolow mangional 16 years ago
  17. Chris B 16 years ago
  18. Dave 16 years ago
  19. Tim 17 years ago
  20. AZiZi 17 years ago
  21. vcd 17 years ago
  22. Amigo 17 years ago
  23. Tartooob 17 years ago
  24. MR7 17 years ago

Leave a Reply

Your email address will not be published. Required fields are marked *

Note: Your comment is subject to approval. Read our Terms of Use. If you are seeking additional information on this article, please contact us directly.