Hack Firefox To Autosave Passwords Without Prompting

By | December 8, 2015

Mozilla Firefox Hack

This post will show you how to hack Mozilla Firefox to save the passwords without prompting, notifying or asking the user if he wants to save the password or not (FOR ‘WINDOWS’ ONLY). But please do not use this hack to steal someone else’s passwords. This tutorial is only meant for curiosity, educational purposes and teaching you to be cautious! :mrgreen: :mrgreen: :mrgreen:

Hack Firefox For Remembering Passwords Without Showing Prompt

Basically, There Are ‘Two Ways’ To Get This Hack Working:

The first way/method, is doing each and every edit in the files all by yourself. This method is for people who easily understand the basics of editing files and using software. This will allow you to apply this hack to the ‘latest version of Firefox’. It is quite lengthy, but it is very much worth the effort. But do know that depending upon the date on which you are reading this post, you might have to improvise and make certain adjustments in the method using your own brain.

The second way/method, is just replacing the original files with the pre-edited files provided by me. This is recommended for noobs. The first and major drawback of this is that sometimes it won’t work because of various reasons like your version of Windows being very unique/different, etc. The second drawback of this method is that since Firefox releases updates very regularly, I might not be able to keep up with them. So, you might have to use a slightly old version of Mozilla Firefox for this hack to work. But don’t worry guys, I will try my best to regularly update these pre-edited files.

So let’s get started! :) :) :)

 


Method No. I:
(Strongly Recommended Method; Not For Noobs Though)

  1. Download a software called PowerArchiver and install it on your PC. This awesome software will be used by us to open and edit the Firefox files.
    PowerArchiver
  2. Download Notepad++ and install it if you do not already have it. It will make it easier for you to edit the files.
    NotePad++
  3. Make sure you have the latest version of Mozilla Firefox running right now already, because you cannot update once you have applied this hack if you want this hack to work forever. If you have an older version, update it now.
  4. Open Mozilla Firefox, go to ‘Options’, then go to ‘Security’ tab, and make sure that ‘Remember password for sites’ option is ticked.
  5. Now close Mozilla Firefox.
  6. Check whether Mozilla Firefox is still running or not before following the further mentioned steps. You can do this by opening the Task Manager, and checking the ‘Processes’ tab for any instance of Firefox. If it is running, exit it by ending its process.
  7. Go to the directory where Mozilla Firefox is installed on your PC (by default, it is installed in ‘C:\Program Files\Mozilla Firefox’).
  8. Look for a file named ‘omni.ja’. This is the file we are going to edit. You might wanna make a backup of it before proceeding to follow the further mentioned steps. In case you mess things up in the end, just restore the ‘omni.ja’ file to original once again and things will be the same as before!
  9. Open this ‘omni.ja’ file using ‘PowerArchiver’ (to do so, right click on this file, and open it with ‘PowerArchiver’). You will now see all the files present inside the ‘omni.ja’ file.
    omni.ja Main Directory
  10. Now go to ‘jsloader\resources\gre\components’ and delete the ‘nsLoginManagerPrompter.js’ file.
    nsLoginManagerPrompter Which Is To Be Deleted
  11. After that, go back to the root folder of omni.ja file and navigate to the ‘components’ folder.
  12. In that folder, open ‘nsLoginManagerPrompter.js’ file using Notepad++.
    nsLoginManagerPrompter Which Is To Be Edited
  13. In Notepad++, search for _showSaveLoginNotification. Check the screenshots shown below._showSaveLoginNotification Start
    _showSaveLoginNotification End
  14. You will now need to replace the entire content inside this function (as shown in the screenshot) with this:
    var pwmgr = this._pwmgr;
    pwmgr.addLogin(aLogin);

    Final Editing Of nsLoginManagerPrompter

  15. Now, save the file and allow PowerArchiver to overwrite the file in ‘omni.ja’ file.
  16. That is it! Now, your Mozilla Firefox is 100% configured to auto save passwords without showing any confirmation or prompt. Test it if you do not believe me! :) :) :)

 


Method No. II:
(Not Recommended; Only For Noobs)

  1. Download the ‘ Mozilla Firefox 50.0 ‘ setup and install it (unless you already have the ‘50.0’ version for sure). It is very important that the Mozilla Firefox is of 50.0 version only and no other version, otherwise, the hack won’t work. Here are the links:
  2. Open Mozilla Firefox, go to ‘Options’, then go to ‘Security’ tab, and make sure that ‘Remember password for sites’ option is ticked.
  3. Now close Mozilla Firefox.
  4. Check whether Mozilla Firefox is still running or not before following the further mentioned steps. You can do this by opening the Task Manager, and checking the ‘Processes’ tab for any instance of Firefox. If it is running, exit it by ending its process.
  5. Download the pre-edited ‘ omni.ja ‘ file. Here are the links:
  6. Copy this downloaded ‘ omni.ja ‘ file.
  7. Go to the directory where Mozilla Firefox is installed on your PC (by default, it is installed in ‘C:\Program Files\Mozilla Firefox’).
  8. Now, paste the file you copied earlier here. Windows will tell you that a file with that name already exists and ask you if you want to replace it. Select ‘Yes’.
  9. That is it man! Now, your Mozilla Firefox is 100% configured to auto save passwords without showing any confirmation or prompt. Test it if you do not believe me! :) :) :)

 


Final Words:

This trick is awesome but it does have a few drawbacks. The first drawback is that it might not save passwords for some websites like Paypal.com, etc. The second and the major drawback is that if someone types a wrong password, it will still be saved without prompting, and then if he/she types the correct password, there will be a prompt asking if the user wants to update the password. I am no expert in programming, but if you are, and you know how to remove this bug, then please comment below with the method to do so. It will be very much appreciated.

And now, enjoy! I hope this hack worked for you. If it did not, don’t be worried or disappointed. Comment below on this post explaining your problem, and I will try my best to figure out the solution to the problem you are facing. :) :) :)

Also, share this post with your friends who are interested in getting to know stuff like this!

Thank you.

LINK TO THIS POST:

<a href="https://www.theadarshmehta.in/blog/how-to-hack-mozilla-firefox-to-save-passwords-without-showing-any-notification-updated-and-latest/2015/12">Hack Firefox To Autosave Passwords Without Prompting</a>

Spread the love

15 thoughts on “Hack Firefox To Autosave Passwords Without Prompting

  1. Lucky

    Hello Adarsh, thanks for the information, but can u kindly send me that of version 42.0. I will be thankful.

    Reply
  2. sushmanth

    Hello sir, do u have a hack for Firefox 64.0.2… I feel so pls help me

    Reply
  3. Rishi Richard

    Hello Adarsh, I have been following youe steps couple of times with mozilla older version as well as new version too, seems it didnt work for me.
    What possibly i would be doing wrong? can u please email me too.

    Reply
  4. Yasin

    Hi,

    I just downloaded Firefox 50.0 and omni.ja file.

    I followed all the steps. But the tricks won’t worked for me

    Please reply what to do.

    Reply
      1. Yasin Arafat

        Hi,

        I didn’t get the new file for Firefox 54.0.1.

        I checked email, but there was no file attached.

        Reply
  5. B

    Nevermind… I figured it out. I had skipped a step and was trying to open omni.ja with Notepad++ instead of PowerArchiver

    Instructions worked great. Thanks.

    Reply
  6. B

    Great Article.

    Will the linked omni.ja file work for the recently released firefox 51.0.1 version as well?

    Also, I tried opening the omni.ja file with powerarchiver, and it looked like the code was replaced with a bunch of text that just said “HUD”. I had opened it before a month ago on version 50 and the code looked normal. Any reason why the code looked to be replaced?

    Thanks… Kind of a noob here, so sorry if these are dumb questions ;)

    Reply
    1. Adarsh Mehta Post author

      Hello, B.

      I am sorry, but the linked “omni.ja” file most probably would not work for any version other than Firefox 50.0 because it is specifically made by me only for that version of Firefox. Firefox releases updates very very frequently, because of which, I am not able to keep the files provided by me on this post compatible with the latest version of Firefox. So, you will have to follow the manual method if you want this hack to work on version 51.0.1. Sorry once again. :(

      And brother, please follow each and every step of the manual method properly. You cannot open “omni.ja” file directly used Notepad++. Earlier we could do that, but now, we have to first use PowerArchiver. Firefox team keeps on changing many things in their updates, and this is one of them. Hope this clears things up! :)

      Your questions were not dumb at all, brother. I appreciate you taking the time to read this article and follow each and every step written by me.

      Thank you.

      Reply
  7. Banglapola07

    I’m gonna put this version of firefox and omni.ja file in my girlfriends PC

    Reply
    1. Adarsh Mehta Post author

      Lol. I would advise you not to proceed with this plan as it could have very bad unforeseen consequences!

      Thank you.

      Reply
  8. Ben

    Your article is amazing. Can you please send me a compressed version to my email because I downloaded the Firefox 42.0 on my PC and replaced the omni.ja file successfully but Firefox is still asking to save the password!

    Reply
    1. Adarsh Mehta Post author

      Hello Ben! I will send you an email soon which will solve all your problems. Right now I am kind of busy. I hope you can wait till then. :)

      Thank you.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *