Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I wish for Firefox v4 to ask to remember passwords on Windows 7 for many banking sites that somehow cause this feature to be suppressed. Is there a way in Firefox or a plug-in that will allow these passwords to also be remembered?

share|improve this question
    
I don't know if this applies in the US, but in the UK, if you had your computer stolen and somebody got into your online banking as a result of this, you could be refused compensation. –  Blowski Apr 28 '11 at 17:44

2 Answers 2

up vote 5 down vote accepted

Go to your Firefox components folder. The default path is

C:\Program Files\Mozilla Firefox\components

Now open the file nsLoginManager.js with a text viewer (Notepad or Notepad++).

Go to the function at around line 804 (varies with version of Firefox), which is:

/*
 * _isAutoCompleteDisabled
 *
 * Returns true if the page requests autocomplete be disabled for the
 * specified form input.
 */
_isAutocompleteDisabled :  function (element) {
    if (element && element.hasAttribute("autocomplete") &&
        element.getAttribute("autocomplete").toLowerCase() == "off")
        return true;

    return false;
},

Now comment out the first 3 lines, so it becomes:

/*
 * _isAutoCompleteDisabled
 *
 * Returns true if the page requests autocomplete be disabled for the
 * specified form input.
 */
_isAutocompleteDisabled :  function (element) {
    /*if (element && element.hasAttribute("autocomplete") &&
        element.getAttribute("autocomplete").toLowerCase() == "off")
        return true;*/

    return false;
},

Save it, restart Firefox and you're done.

share|improve this answer
    
Apparently that file is now inside omni.jar which is almost a zip file. I renamed to zip, could view the file and edit, but when I try to put modified file back in the .jar Windows complains about format being corrupt. –  WilliamKF May 1 '11 at 15:15
    
@WilliamKF: I have changed exactly the file nsLoginManager.js in the above path; and since then it's been good. I have no idea about omni.jar. –  Mehper C. Palavuzlar May 1 '11 at 18:33
    
There is no nsLoginManager.js in Firefox 4 on Windows except the one embedded inside omni.jar. –  WilliamKF May 6 '11 at 0:54
    
@WilliamKF: The above solution is valid for Firefox 3.x, and at the time you asked your question, you didn't tell that you have Firefox 4. So I answered on April 28th (before your edit) without knowing you have Firefox 4. –  Mehper C. Palavuzlar May 6 '11 at 6:43
1  
@WilliamKF: The issue of Firefox 4 is discussed under Firefox Support Forums (see this thread). I also found a solution for omni.jar problem as described here. Hope that helps. –  Mehper C. Palavuzlar May 6 '11 at 6:54

I'd say it would be better to use a password manager plug-in like LastPass or 1Password.

share|improve this answer
    
+1 for LastPass –  BrianH May 2 '11 at 15:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.