Customize Firefox to automatically save passwords when logging in

In the past, we have received many questions from readers about how to automatically save the login password without having to press the Remember button.

In the past, we have received many questions from readers about how to automatically save the login password without having to press the Remember button. In the setting options of this browser, even if you check the Security Remember passwords for sites section in Tools> Options , Firefox will still display a reminder message above the right corner with the content ' Do you want Firefox to remember the password for . 'and Remember, Never for This Site and Not Now options:

Picture 1 of Customize Firefox to automatically save passwords when logging in

After much time searching, we found out that this function is controlled by some javascript files. This process is as follows, after entering the Username , Password into the form and pressing b, javascript will handle:

_onFormSubmit () in nsLoginManager.js file

promptToSavePassword in nsLoginManagerPrompter.js file

_showSaveLoginNotification in nsLoginManagerPrompter.js file

addLogin in nsLoginManager.js file

And to learn more about the process, close Firefox, open nsLoginManagerPrompter.js file with NotePad (or any Text editor) in the C: Program FilesMozilla Firefoxcomponents folder . Replace the code from lines 642 to 711 as follows:

var pwmgr = this._pwmgr;

pwmgr.addLogin (aLogin);

Picture 2 of Customize Firefox to automatically save passwords when logging in

From this point on, whenever you log in to any website, Firefox will automatically save the relevant information such as username and password without displaying the message as before. However, you can still use the Password management function via the Tools> Options> Security> Saved Passwords menu. But be aware that this method should only be applied to Firefox 3.x browsers and earlier versions. Good luck!

Update 25 May 2019
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile