How to auto save passwords in Firefox without confirmation

It would be a lot of fun if you are able to auto save passwords in Firefox. Consider a situation: One of your friends uses your computer for checking his Facebook. He enters his login email and password on Facebook login page. After hitting on Enter, Firefox does not show him any password saving confirmation prompt. Instead, his email and password is automatically saved by Firefox! Interesting, isn’t it? Yeah, you guessed it right. Today, we will learn how to auto save passwords in Firefox without any confirmation prompt. So, let us give it a go!

Auto Save passwords in Firefox:

You have to edit core files of Firefox for auto saving passwords. Please note that this article is for educational purpose only. I am not responsible for any act done by you.

Let us get into the procedure of saving passwords in Firefox.

1. Download PowerArchiver and install it on your computer. This is used to open and edit Firefox files. Make sure that Firefox is not running while following the further procedure. Exit Firefox, if running and move to next step.

2. Go to C:\Program Files\Mozilla Firefox and look for omni.ja file.

Note: Before moving to next step, make sure you have a backup of omni.ja file. If you want to restore your original Firefox settings, you need this default omni.ja file.

3. Open this file using PowerArchiver. You will see all the files present inside omni.ja. Go to jsloader\resources\gre\components and delete nsLoginManagerPrompter.js file.

Auto save passwords in Firefox

4. Go back to the root folder of omni.ja file and navigate to components folder. In that folder, open nsLoginManagerPrompter.js file using Notepad++. In Notepad++, search for _showSaveLoginNotification function. Now, you have to edit this function as shown in the screenshot below:

Editing function

Replace all the function contents with this:

var pwmgr = this._pwmgr;

Save the file and allow PowerArchiver to overwrite the file in omni.ja.

5. That’s it! Your Firefox is completely configured to auto save passwords without confirmation.

Run your Firefox and login to any online account. Firefox will save passsword without asking any for permission. To view saved passwords in Firefox, go to Tools -> Options and hit on Security tab. Then click on Saved Passwords button. In the prompt, click on Show Passwords and you will be able to see saved passwords like this:

Saved Passwords in Firefox

If you are not comfortable with editing files, here is the edited omni.ja file. Download it and copy(overwrite) it in your C:\Program Files\Mozilla Firefox folder.

How to restore original Firefox settings:

If you want to restore your original Firefox settings, first of all, exit Firefox. Then, simply delete your current edited omni.ja files and copy the backup copy of omni.ja in C:\Program Files\Mozilla Firefox.

I hope now you are able to automatically save passwords in Firefox using the above trick. You can easily capture your friends’ passwords using this beautiful Firefox trick. Cheers!

Recommended: You might be interested in our article: How to hack Hotmail account.

This was a short trick of editing Firefox to save password without confirmation. If you have any problem in this tutorial on how to auto save passwords in Firefox, please let us know in comments.

About Rajesh

Rajesh is a tech-blogger since last 3 years and is pursuing M.Tech from NITK, Surathkal.


  1. i dont wanna say its not working , i made sumwere roung ! o.O :( not worked for me ?

    • Have you followed all the steps? Which Firefox version you are using? Alternatively, you can download and overwrite the omni.ja file that I have provided in the article.

  2. m using 20.0 ! bro i think i felt wrong in “Replace all the function contents with this var pwmgr = this._pwmgr;

    • I have added link for edited omni.ja file in the article itself. Please download and overwrite the file in your Firefox installation.

  3. i tried with firfox 20.0 ! wen i restart my firfox its not starting , so i hve installed older version 3.5 ! its not working on there ! , tell me which version your using ? :) !

    • The edited omni.ja file will work for all versions above FF 5. Did you download and overwrite the edited omni.ja file?

  4. Yeah, got it working! The editing business is not for me, used your file and it worked like charm.

  5. well wen i pasted this omni.ja file after replacing , my firefox is not starting ? :( !

    • Well, I guess there is a change in core file structure in FF 20 and hence, this trick is not working. I have tested it on my FF 19 and found it working perfect. Thanks for informing me. Will post solution if I find any!

  6. Hey Rajesh pls update this For FF 20

  7. Dear Rajesh,
    Indeed a noticable work buddy..!! It was a knowledge gaining article and also a useful piece of work to apply.
    Thanks a lot for sharing this with us. :)

  8. Ditto! …any chance for a downloadable version for FF20? It worked great for FF19.

  9. hi, what a beautiful work :-) … is there a chance for macosx tutorial?



Speak Your Mind