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.


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

Pages: [2] 1 » Show All

  1. 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.

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

    rename cookies.sqlite to cookies.sqlite.OLD

    that works 4 me

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

  4. 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?

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

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

    ND

  6. 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?

  7. 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!

  8. 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.

  9. 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: [2] 1 » Show All

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 comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

firefox not saving passwords - firefox not remembering passwords - firefox does not remember passwords - firefox remember password - firefox remember password not working - remember password firefox - firefox remember passwords - firefox password remember - firefox does not save passwords - firefox doesn't remember passwords - firefox will not remember passwords - firefox not remembering login - firefox save password - firefox will not save passwords - firefox wont save passwords - firefox save passwords - firefox won't remember passwords - firefox won't save passwords - firefox wont remember passwords - firefox save password not working - Firefox does not remember password - firefox doesn't save passwords - firefox not remembering logins - firefox not storing passwords - firefox doesnt save passwords - firefox not remember password - save passwords in firefox - all - firefox does not save password - FIREFOX DOESNT REMEMBER PASSWORDS - force firefox to remember password - firefox not asking to save password - firefox saving passwords - save password firefox - firefox passwords not saved - how to remember password in firefox - firefox password save - firefox does not remember yahoo password - firefox autofill not working - Firefox not prompting to save password - firefox not remembering password - force firefox to save password - firefox not saving password - firefox not asking to remember password - firefox not prompting to remember password - firefox is not remembering my passwords - firefox will not remember password - firefox does not offer to save passwords - how to remember passwords in firefox - firefox not offering to remember password -