So becase I’m a lazy SOB and I hate having to retype my password for those sites that force browsers to not remember it (example: most banking sites, Yahoo, PayPal), I searched around tonight to find a solution. Firefox 2 had a neat plugin, but it doesn’t work on FF3 without a bit of tweaking, and even then it didn’t cover the sites I named as examples above.
So, to force Firefox 3 to remember passwords for all sites, regardless of what that site has to say, open up nsLoginManager.js (found in default installation location of Firefox\components\)
Find:
if (element && element.hasAttribute(”autocomplete”) &&
element.getAttribute(”autocomplete”).toLowerCase() == “off”)
return true;
Replace with:
// if (element && element.hasAttribute(”autocomplete”) &&
// element.getAttribute(”autocomplete”).toLowerCase() == “off”)
// return true;
Note: because of spacing such the FIND option may not work for the above coding, since extra spacing was stripped out of it. Do a FIND for the first line (if (element && element.hasAttribute(”autocomplete”) &&) and you should be good to go.
