Firefox: Remember new passwords without prompting
Solution 1:
Hacking Firefox to Always Auto Save Password Without Showing Notification Bar:
- Close Firefox
- Edit nsLoginManagerPrompter.js with notepad which is normally located in C:\Program Files\Mozilla Firefox\components\
-
Replace the entire lines 642 to 711 with the code below:
var pwmgr = this._pwmgr; pwmgr.addLogin(aLogin);
Now whenever you login to any website, Firefox will auto save the site, username and password to the login manager WITHOUT showing the notification bar.
Note: even when you enter the wrong username or password, it will still be saved.
Source
Solution 2:
This DOES still work in Firefox 3.6 - 4.0+, it's just not in the same place as shown in the picture.
Using Firefox 4.0:
Edit nsLoginManagerPrompter.js
which is normally located in C:\Program Files\Mozilla Firefox\components\
.
Replace the code from lines 800 - 869 with:
var pwmgr = this._pwmgr; pwmgr.addLogin(aLogin);
Save and replace original file.
Et voila!
Saves passwords and doesn't prompt.