I love firefox to remember my passwords for me, so all I have to do is enter one master password to get on any of my sites. Problem is, a lot of secure sites don't allow this script...so we need this tip below to enable it:
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.
if (element && element.hasAttribute("autocomplete") &&
element.getAttribute("autocomplete").toLowerCase() == "off")
// 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.