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.

39 Responses to “Fix Firefox Does Not Save, Store or Remember Password On Some Sites Permanently for Always Auto-Complete”

Pages: 1 2

  1. Tomek
    January 27th, 2010 19:56
    39

    Works great with FF 3.6

  2. niraj
    January 26th, 2010 10:35
    38

    doesnot work with mozilla 3.5.7

  3. Armin
    January 11th, 2010 09:36
    37

    Works great! However, I am trying to find something similar for IE8, without success. Do you have a similar solution for IE pl.?

  4. Lisa
    December 27th, 2009 03:02
    36

    Hi – this works great in FireFox 3.5.6

    Many thanks!

  5. Nick
    December 11th, 2009 23:52
    35

    Theres a problem i had. I cannot save it and it says its probably lock by other programs.My Firefox is close as well and im using Firefox 3.5.5

    PLEASE HELP!

  6. chris
    October 28th, 2009 08:02
    34

    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.

  7. gaaaa
    September 18th, 2009 08:30
    33

    rename cookies.sqlite to cookies.sqlite.OLD

    that works 4 me

  8. Cockulant
    August 14th, 2009 05:35
    32

    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 :)

  9. Ed H
    August 5th, 2009 23:32
    31

    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?

  10. Nako
    July 31st, 2009 19:04
    30

    Goo job! Thx!
    Worked well on 3.5.1.
    Helpful article.

    ND

  11. Carl Patton
    July 29th, 2009 03:50
    29

    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?

  12. Michael
    July 15th, 2009 11:46
    28

    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!

  13. hemando
    July 13th, 2009 23:30
    27

    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.

  14. C Grebsivlas
    July 10th, 2009 01:25
    26

    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

Pages: 1 2

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to My Digital Life Comments RSS feed to receive notification of latest comments posted.

New Articles

Incoming Search Terms for the Article

firefox not saving passwords - firefox does not remember passwords - firefox not remembering passwords - firefox remember password - firefox not remembering login - remember password firefox - firefox will not save passwords - firefox does not save passwords - firefox password remember - firefox save password - firefox doesn't remember passwords - firefox will not remember passwords - firefox save passwords - firefox remember passwords - firefox remember password not working - firefox wont remember passwords - firefox won't remember passwords - force firefox to remember password - firefox saving passwords - firefox not saving password - firefox doesn't save passwords - firefox does not remember password - firefox won't save passwords - firefox won't save password - firefox wont save passwords - firefox save password not working - firefox not storing passwords - save passwords in firefox - all - firefox passwords not saved - firefox autocomplete not working - firefox saved passwords not working - firefox not asking to save password - firefox is not remembering my passwords - how to remember passwords in firefox - save password in firefox - remember password in firefox - firefox save all passwords - firefox autofill not working - HOW TO save password IN firefox - firefox doesn't offer to save password - firefox does not prompt to save password - save password firefox - firefox does not save password - firefox doesnt remember passwords - firefox not remembering logins - firefox doesnt save passwords - firefox password autofill - remembering passwords in vista with firefox - firefox does not store password - mozilla not saving passwords - firefox is not saving my passwords - how to remember password in firefox - have firefox remember passwords - firefox autofill password - firefox not save password - saved passwords firefox - firefox not asking to save passwords - firefox wont save password - remember passwords firefox - firefox doesn't store passwords - password firefox - firefox do not remember password - remember password on firefox - firefox not using saved passwords - firefox does not remember login - firefox remember login - firefox not prompting to save password - firefox how to save passwords - firefox not prompting to remember password - force firefox to remember passwords - how to save passwords in firefox - firefox is not saving passwords - firefox remember website passwords - how to remember password firefox -