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.


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

  1. Laura
    April 2nd, 2009 22:03
    24

    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.

  2. Faith Edkin
    March 14th, 2009 09:29
    23

    This is an awesome tip! Thank you! I Love you

  3. Jeff
    March 2nd, 2009 06:21
    22

    y i can’t save the js file?Any trick required? it says ‘make sure the path and file name are correct..

  4. Password Remember « Quality Assurance at Openbravo
    February 26th, 2009 23:38
    21

    [...] 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 [...]

  5. admin
    February 6th, 2009 18:15
    20

    skylos, you have mentioned it. Thanks.

  6. skylos
    February 6th, 2009 16:43
    19

    Why is there no mention of the dude (Tonycosus) that pointed out this method on the previous article on Save Password Bookmarklet, comment #5?

  7. Brandon
    January 27th, 2009 21:18
    18

    On Debian Linux (and I assume Ubuntu), the file you need is here:
    /usr/lib/xulrunner-1.9/components/nsLoginManager.js

  8. admin
    January 22nd, 2009 10:52
    17

    It won’t cause such behavior I guess. Sorry for what happens though.

  9. daniel
    January 22nd, 2009 10:42
    16

    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.

  10. byron
    December 10th, 2008 03:02
    15

    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

  11. Gaf
    November 21st, 2008 02:22
    14

    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!

  12. Ripley
    November 13th, 2008 12:30
    13

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

  13. Ward
    November 7th, 2008 20:12
    12

    Also cannot save nsManagerLogin.js in Vista with Notepad. Yes, Save as type set to *.* Is the encoding something other than ANSI?

  14. Ken
    October 26th, 2008 08:45
    11

    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.

  15. My cookies are spoiled - Southern Maryland Community Forums
    October 20th, 2008 22:52
    10

    [...] 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. [...]

  16. Jim
    October 19th, 2008 02:02
    9

    I have the same problem but it is with Internet Explorer. Is there a fix for IE?

  17. Rob
    September 10th, 2008 09:05
    8

    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.

  18. Jenn
    September 3rd, 2008 07:39
    7

    This works perfectly for both of my installations of Firefox 3. Thank you very much!

  19. mo
    September 2nd, 2008 18:24
    6

    Works great ! thanks a lot!

  20. Kent Slimm
    August 29th, 2008 22:26
    5

    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.

  21. Michel
    August 21st, 2008 14:18
    4

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

  22. strygi
    August 19th, 2008 00:26
    3

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

  23. strygi
    August 18th, 2008 23:38
    2

    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?

  24. Firefox, come memorizzare le password anche dei siti che non lo permettono - Geekissimo
    August 18th, 2008 18:04
    1

    [...] Via | My Digital Life [...]

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 remember password - remember password firefox - firefox does not remember passwords - firefox not remembering passwords - save password in firefox - firefox password remember - firefox does not save passwords - firefox save password - firefox won't save passwords - firefox not remember password - firefox not asking to remember password - firefox passwords not saved - firefox save passwords - firefox will not remember passwords - all - firefox does not remember password - firefox remember password not working - firefox does not save password - firefox will not save passwords - firefox wont save passwords - firefox wont save passwords - FIREFOX NOT REMEMBERING PASSWORD - firefox does not offer to save password - firefox password save - force firefox to remember password - firefox saving passwords - force firefox to save password - firefox remember passwords - firefox doesn't offer to remember password - firefox 3.5 saved passwords - firefox not remembering logins - firefox wont save email password - firefox Password fill does not work - firefox will not store passwords - Firefox Does not offer to remember passwords - how to store msn code in firefox - firefox save paypal password - firefox does not remember some passwords - firefox not storing passwords - firefox remember password problem - force firefox to save passwords - remember password for firefox - where does firefox store passwords - firefox not remembering saved logon - firefox not prompting to save password - firefox password save not working on some sites - firefox does not remeber passwords - firefox does not save - password firefox remember -