Hacking Firefox to Always Auto Save Password without Showing Notification Bar

Sunday 8 May 2011

Hacking Firefox to Always Auto Save Password without Showing Notification Bar

Normal Execution of Saving Password in Firefox

When you submit a form with username and password, it will process the function:
  • _onFormSubmit() in nsLoginManager.js
  • promptToSavePassword in nsLoginManagerPrompter.js
  • _showSaveLoginNotification in nsLoginManagerPrompter.js
  • addLogin in nsLoginManager.js 



Steps for hacking Firefox Notification Bar

  • Close Firefox
  • Edit nsLoginManagerPrompter.js with notepad which is normally located in C:\Program Files\Mozilla Firefox\components\
  • Delete all code inside the function:
_showSaveLoginNotification : function (aNotifyBox, aLogin) { }
  • Add a new code:
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

5 comments:

  1. There is no such " .js " file. I'm using the nightly version of firefox 8. Please advise. Thanks !

    ReplyDelete
  2. @Hungry Dragon

    It works only in Mozilla Firefox. . .
    You are correct there is no .js file ion it. . .
    All are .dll

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete
  4. you have to download mozilla firefox 3 or 4 for it to work. Even though mozilla has upgraded to 11, they still have downloads for previous versions... And it works....really works. I'd been looking for a way to steal someone's password for months, and finally found this... thanks so much for the info!

    ReplyDelete

Home