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 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:

Customize Firefox to automatically save passwords when logging in Picture 1

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);

Customize Firefox to automatically save passwords when logging in Picture 2

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!

4 ★ | 1 Vote

May be interested

  • Remove Toolbar browser in Internet ExplorerPhoto of Remove Toolbar browser in Internet Explorer
    in this article we will show you how to remove unwanted toolbar in internet explorer.
  • 7 ways to work with slow network connectionPhoto of 7 ways to work with slow network connection
    this article will show you how to increase performance when your network connection is slow. many of the steps introduced below are also good tips for speeding up web browsing or speeding up sending and receiving emails.
  • 10 ways to surf safely in the businessPhoto of 10 ways to surf safely in the business
    in the internet 'jungle' area, some useful tips for businesses can avoid becoming prey into the trap of predators. they trap us with phishing scams, download drive-by and malware.
  • 6 great browsers for Android devicesPhoto of 6 great browsers for Android devices
    the default browser on android called 'internet' is a very simple browser included with android os. meanwhile, there are browsers from third-party vendors that have a more robust interface, great configuration and are updated more often.
  • Create and manage multiple profiles in FirefoxPhoto of Create and manage multiple profiles in Firefox
    if you share a computer with others, mozilla firefox has an attractive feature that allows you to create multiple profiles. this is a simple guide that explains how it works.
  • Instructions to transfer Bookmarks from Firefox to ChromePhoto of Instructions to transfer Bookmarks from Firefox to Chrome
    many people feel annoying when they have to transfer bookmarks from one browser to another. if you have switched to using google chrome from firefox and want to bring your bookmarks, here's how.