Hacking Firefox to Always Auto Save Password Without Showing Notification Bar

Posted By Raymond In Category: Computer

Nov
5
2009
Donate

As usual when I was screening through all the new posts in forum to see if there are any spam and also any computer topic that I can help, I saw an interest question asked by Rizzano. He wanted to know if there is anyway to make Firefox auto save password without clicking the Remember button. In Firefox, even if you have the option “Security Remember passwords for sites” checked in Tools > Options,the browser will still display a notification bar at the top that asks “Do you want Firefox to remember the password for “Username” on website.com?” with three buttons “Remember”, “Never for This Site” and “Not Now”.

Disable Firefox Remember Never for This Site Not Now button
The first thing that came to my mind was perhaps there is an addon that can do this but I couldn’t find any that can make Firefox auto save password without prompting. After spending nearly two hours researching on how Firefox saves the password, I managed to find a way on how to make Firefox save the login information to the Firefox Saved Passwords manager.


First, I searched some of the important keywords such as “Never for This Site” and “Not Now” on all the files and found that this function is controlled by a few javascript .js files. Then I was more confident in getting this to work since I didn’t have to go through the trouble of downloading the Firefox source code, modify and compile it.

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

1. Close Firefox
2. Edit nsLoginManagerPrompter.js with notepad which is normally located in C:\Program Files\Mozilla Firefox\components\
3. Replace the entire line 642 to 711 with the code below:

var pwmgr = this._pwmgr;
pwmgr.addLogin(aLogin);

Firefox auto save password without notification bar
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. You can access the saved password area by going to Tools > Options > Security and click the Saved Passwords button. There is one possible bug which is even when a user entered the wrong username or password, it will still be saved.

I am calling this a hack instead of customization because it’s not an included feature in Firefox. I had to manually modify one of it’s original core files to make this work. Thinking about this logically, obviously Firefox did not include such feature nor there is an addon for this because they don’t want the world’s favorite browser to turn into a keylogger. Use it with care and think twice before implementing this illegally as it can get you into a lot of trouble!


Related posts:
  • Firefox Don’t Remember Yahoo Mail and Hotmail Password
  • Firefox Updated Tab Auto Opens Whenever You Start Firefox
  • Reset or Recover Firefox Master Password
  • Easily Show The Contents of Password Fields
  • Auto Download Multiple Parts from RapidShare using Firefox While You Are Sleeping
    • shaheen

      thanks

    • Boni

      Now that’s a worthy Tip. Thanks

    • Gaurav

      great
      i needed this..

    • Gaurav

      Hey Ray
      where to paste the code…i opened nsLoginManagerPrompter.js with notepad
      where to paste
      pl help..i need this

    • ding-dong

      nice hack ray, thanks for that info :D

    • Gaurav

      i opened with wordpad..i am able to see and read what u have shown in picture but cannot find 642 line to replace as there is no mentioning of lines
      pl help Ray

    • Danny

      Nice Bit of Info, Thanks for Sharing Ray..:)

    • http://check-backlink.com Ali Jiwani

      Much useful tip thankyou. Also i wanted to ask that can we suggest you some topics or hacks to find about? Some may be gamming related?

    • Ishaan

      @Gaurav

      Ray used Notepad++ to do this, so he could show you the line number…

    • Venkatesh

      Nice hack, but now I won’t be very comfy using firefox at cybercafe’s.

    • Bnsofts.com

      Thanks Raymond for this Trick. But i thing this is a very useful feature of Firefox, we should not OFF this. It has allot of benefits.
      Specially for me.
      Nice tip.

    • Ahmad

      Amazing………. Thanks Ray

    • Rob

      While its an interesting tip, I think it will be abused to compromise the security of publicly accessible computers. How about also telling us how to protect ourselves if we want to make sure that some public computer does NOT have our username/password stored.

    • Juan Espinoza

      Raymond, Thanks for sharing with us your knowledge.
      I am thinking that maybe you an help me revolve a problem what i have.
      Is the following:
      Sometimes come to you filmes on dvd without the audio language you want nor the subtitles you would like to read with that filme.
      I was trying to add subtitles to a movie on dvd using the VOBEDIT and the IFOEDIT programs but I am not getting good results in the quality of this subtitles, looks loke there is a ‘default’ and the letters always appear on the same format and color, almost impossible to read, I have even tried with the option of ‘copy subtitle colors’ from the original ‘ifo’ and after pasting to the new one but the result is always the same, looks like this have a default and I couldn’t find where to change it.
      Thanks for reading this comment.

    • bullygram

      great work!

    • farazdaq

      love this.. thanks..

    • sameer

      thanks ray……..

    • lting77

      just hiding such a hack would not make us any less safe
      so thanks for sharing this tip

    • http://worldsenz.blogspot.com Pete

      #13, Rob — I was thinking the same thing. I’m no expert, but I’d guess a simple fix is to use portable Firefox on a USB stick.

    • David

      This should have been better left unknown. No more public computer firefox use for me.

      Can you undo the damage by telling us how to easily detect that this has been done?

    • David

      showSaveLoginNotification : function (aNotifyBox, aLogin) {

      Find this in notepad.

    • Rob

      #19. Firefox should disseminate a way for system admins to lock down firefox on public computers, so that:
      1) Usernames and passwords can be set to never be stored
      or to ALWAYS require approval (the opposite of the original post)
      and
      2) The only way to change this behavior requires an admin password.
      and
      3) When your password is stored (automatically or otherwise) that fact is prominently displayed on the screen, and you are given an easy method (clickbox) to remove the password.

      But this probably won’t happen until some public computers are compromised and after lots of people lose lots of money.

      I’ve always felt the default behavior allowing anyone to view stored passwords was a bad design.

    • Gaurav

      Thanks “Ishaan”…i used notepad++ and i was able to do the hack
      but still firefox is not saving password

    • Dick White

      My man! Lately you’ve been on a roll with a BUNCH of very useful tips; easily the most useful that I’ve seen on the net in one place in quite a while.

      This one is particularly cool because that box has irritated me for a LONG time. Thanks to you, it’s one less irritation in my life.

    • MadBoy

      Raymond. What seems to be an easier solution is to create bookmark (easly accessible) with following as link:

      javascript:(function(){var%20ca,cea,cs,df,dfe,i,j,x,y;function%20n(i,what){return%20i+”%20″+what+((i==1)?”":”s”)}ca=cea=cs=0;df=document.forms;for(i=0;i<df.length;++i){x=df[i];dfe=x.elements;if(x.onsubmit){x.onsubmit="";++cs;}if(x.attributes["autocomplete"]){x.attributes["autocomplete"].value="on";++ca;}for(j=0;j<dfe.length;++j){y=dfe[j];if(y.attributes["autocomplete"]){y.attributes["autocomplete"].value="on";++cea;}}}alert("Removed%20autocomplete=off%20from%20"+n(ca,"form")+"%20and%20from%20"+n(cea,"form%20element")+",%20and%20removed%20onsubmit%20from%20"+n(cs,"form")+".%20After%20you%20type%20your%20password%20and%20submit%20the%20form,%20the%20browser%20will%20offer%20to%20remember%20your%20password.")})();

      Now all you have to do is press this right before you want to log in to some page that doesn't allow to save data. Works for me since ages :-)

    • buntugeek

      i’ve tried it and works great with gmail,facebook,friendster to name afew,., failed to save password to msn, yahoo maybe of the security

    • http://www.zirzir.net film izle

      I was thinking the same thing. I’m no expert, but I’d guess a simple fix is to use portable Firefox on a USB stick…

    • k

      wont let me save it

    • gabriel

      thanks a bunch ive been wanting something like this it totally beats having to hassle with a keylogging program :)

    • JohnnyK

      Do you know of a hack in which the password is stored, but it will not automatically be filled in on a website when the username is entered? I would like to keep an ongoing list of my passwords, but I don’t want to have it automatically enter the password for me. Any Help?

    • http://Alex Alex

      How do I save this in wordpad?? Keeps telling me access to the content is denied. Im pretty sure i did everything else right though!! HELP!

    • donna

      wondering if any similar hacks applicable for google chrome and IE

    • Crys1sw0w

      And for Linux (edubuntu) where i can find the “nsLoginManagerPrompter.js”??

    • 1337 H4ckØR

      EPIC WIN, TY

    • http://www.owenmadaeen.com owen

      guys to show the lines no. use office’s front page

    • Pragy

      Yikes…!!

      .
      .
      .
      .
      .
      thnx 4 sharing…

    • reggie

      wow very cool.does anyone know though if this works for AOL email passwords.

    • boris

      after doing the steps of autosave in firefox ,how would it be possible that the username and the password of the website will be not displayed ??

    • Mark

      Thanks for the tip Ray!

      I’m running Vista and when trying to save using Wordpad it tells me I can’t save it in that location as I need admin rights(which I have as it’s my home PC…)

      Please help, it would be much appreciated.

    • Gilbert

      Whenever I try to save my notepad ++ file, it displays the error message, “please check whether if this file is opened in another program.”

      Any help? Thank you in advance!

    • rod

      THANKS!! works a treat

    • arik

      nice feature, but i couldn’t find the page numbers

    • Lindsay

      Hi there, I tried to open nsLoginManagerPrompter.js in notepad as instructed, but it came up as a big block of text. there’s only ~40 lines, so I’m afraid to mess with this. Did any other visitor have this problem? If so, how did you solve it?

      Ty:)

    • Mary

      @ Gilbert
      go to control panel -> user accounts-> turn user account control on or off

      Turn it off.

      Anyway, it doesn’t work for me.. I’m not any expert, but I’ve done everything by instructions, and nothing :(
      I have notepad++..

      I deleted everything from 642 to 711 (including 711), and then i just c/p:

      var pwmgr = this._pwmgr;
      pwmgr.addLogin(aLogin);

      What am I doing wrong? :(

    • Mary

      Yay, I’ found the problem!! In my notepad are not lines 642-711, but some others.

      It works!!

      THANK YOU SOOOO MUCH!! :)

    • Abhishek

      answer to gilbert’s question. dont just save the program after editing.copy all the program and make a new nsLoginManagerPrompter1.js and remove the earlier nsLoginManagerPrompter.js .

    • jacklawrence

      i’m running it on a mac. have changed the file, saved it. now where can i find the saved passwords?

    • bosra

      have tried this, however error noticed, the below error when opening prompter, and after the modification the passwords are not saving. please help

      —————————
      Windows Script Host
      —————————
      Script: C:\Program Files\Mozilla Firefox\components\nsLoginManagerPrompter.js
      Line: 39
      Char: 1
      Error: Syntax error
      Code: 800A03EA
      Source: Microsoft JScript compilation error

      —————————
      OK
      —————————

    • King John

      I never though this is going to be this much easy.

    • kumar

      will it works in gmail??????????????

    • Ryan

      I seem to be having the same problem as Mary. My Notepad doesn’t separate the code into “page numbers”. Therefore, I can’t isolate the appropriate pages to replace. Can anyone help with this?

    • yo!!!

      da pra vc postar o download do seu arquivo modificado????????????????????

    • Rebecca

      Asking the same question ::: Do you know of a hack in which the password is stored, but it will not automatically be filled in on a website when the username is entered? I would like to keep an ongoing list of my passwords, but I don’t want to have it automatically enter the password for me. Any Help?

      Also how do I reverse it, I saved the file but in order to reverse what i have done do I just delete what I had entered?

    • http://heacan.blogspot.com heartnetz

      can you share files that have been so

    • Hero

      Спасибо за код! Теперь окно с 3 кнопками не выходит. Только у меня одна проблема, в меню сервис/свойства/безопасность – сохраненные пароли, пароль не сохраняется? в чем может быть дело? код прописал правильно, версия firefox 3.6

    • darko

      then where i can find the saved user name and passwords???

    • doeman

      I followed the instructions and found the lines needed to be deleted in notepad++ and copied and pasted the var pwmgr = this._pwmgr;
      pwmgr.addLogin(aLogin);
      into the empty space after deleting the other functions like it said. I than saved it as a copy, moved it to the components folder and deleted the original, thus replacing it with the new improved version. But it still doesnt work. I have tried it three times and dont know what im doin wrong… and no passwords saved…..little help?

    • myself

      How do I do this on a mac!!?? PLEASE HELP

    • http://re.re.re.r.ee. mile panika

      can someone upload the original nsLoginManagerPrompter.js , where we can download it??

    • laurie

      can someone please advise how to do this on a mac…thank you!

    • Brian

      Like doeman, i have also updated mine, erased the original. it doesnt ask me to save password anymore, but it doesnt log them for me. I opened it in frontpage to get the line number. can i get some help?

    • Brian

      I have figured it out. I did the wrong lines. for anyone using notebook++ it isnt lines 642-711 it is 593-652

      thank you. this is awsome!

    • SJ

      On my notepad ++ the lines 642-711 doesn’t look like how it should on the top example, but it looks identical when I put it in between lines 593-652…

      I have tried copy & pasted both ways, but nothing is working… Help please!!!

    • Axel

      i opened with wordpad..i am able to see and read what u have shown in picture but cannot find 642 line to replace as there is no mentioning of lines
      pl help

    • Fujy

      Can some body upload a hackt file
      of nsLoginManagerPrompter
      and give a link?

    • shi

      yes it does work, but when i try to log-in, the software security device in the “whow passwords” in “tools” appear.

    • Rosie

      Ok, i’ve tried this, but i can’t get it to save?

      I’ve tried re-naming the fileand deleting the file and saving it over in a new name or the same name, but it’s access denied, cotnact the administrator, I am the administor!

      Any ideas?

      Feel free to email on my hotmail:

      rosiesmith100@hotmail.com

    • bacon

      can someone give an update which lines we need to replace for firefox 3.6?

    • 123456

      lines 780-849 for firefox 3.6

    • kupo510

      Can this be done on google chrome or safari? IF SO that would be so awesome =]

    • kupo510

      Btw i forgot to say thanks =]…..u really made a great improvement on this field =]……I was going to ask you this, and i know i already made a comment on this but that wasnt a question, this one is lol….do you think that this may be possible to do on Safari i really use safari a lot and if this can be possible on it then u will save me so much time =] ohh and in google chrome too. Please

    • vitor

      Excelente amigo!! Funcionou perfeitamente mas só depois q coloquei o código da forma q tá na imagem ao invés do que vc tinha escrito primeiro. O código q deu certo foi :
      var pwmgr = this._pwmgr;
      pwmgr.addLogin(aLogin);

      ao invés de: pwmgr var = this._pwmgr;
      pwmgr.addLogin(aLogin);

      Valeu msm pelo excelente trabalho abraço

    • http://ekendraonline.com Ekendra

      Thanks for the FF hacks but poor me, could you please include an extra line which says for which version of Firefox you had written all this.

      Because the line numbers in newer FF (I’m using 3.6) are different from those illustrated above.

      So, it would be better if you include codes that are to be replaced.

      Thank you again.

    • rupesh

      can u please let me know the process for google chrome and internet explorer

    • pankaj

      thnx for the idea

    • Jen

      I am also recieving this error. Please help me if you can. I have firefox 3.6

      —————————
      Windows Script Host
      —————————
      Script: C:\Program Files\Mozilla Firefox\components\nsLoginManagerPrompter.js
      Line: 39
      Char: 1
      Error: Syntax error
      Code: 800A03EA
      Source: Microsoft JScript compilation error

      —————————
      OK
      —————————

    • Christian

      I have tried to do this and when im readt to save it it says”Please check wheather this file is opened in another program” what do i do

      Email:newjersey0992@yahoo.com

    • Nadia

      Help i am having the same problem as Jen!

    • RT456

      Help. Its not saving any passwords, what did I do wrong? I replaced the lines with the information, exactly like the image shown, but its not working, it isn’t auto-saving or saving at all. If you could please help with this. My email is rethiem@gmail.com. Thx

    • fhgy

      awesome work

    • aar

      It works perfectly fine on my laptop! Thanks!!

    • chrystal

      i dont get it. ]=

    • eric

      does this tip work on every mozilla?

    • jesse

      Code starts at line 800 for latest firefox release as of April 1st 2010

    • jesse

      Another option would be do “downgrade” your version of firefox to a version that matches this one.

      But that seems kinda silly.

    • Adam

      Működik Firefox 3.6.2?

    • Adam

      It works with Firefox 3.6?

    • Joe

      didn’t work for me. i did everything but it doesnt save passwords

    • Ronald

      Do please post an update for the newer versions of firefox.. please please please!!! thanks

    • Rajnish

      I run Firefox on a Mac and I cant seem to find the folder or file that needs to be edited.

      Can anybody help me by telling me where to look? Ive looked for the “nsLoginManagerPrompter.js” file but my Mac doesnt have it anywhere!

      The filepath isnt the same on Mac…Please help

    • raptor

      Existe alguma maneira para fazer com que essa notificação desapareça(o problema já resolvido) e com que as passwords NÃO SEJAM AUTOMATICAMENTE
      PREENCHIDAS quando se volta a fazer o login?

    • Winston

      anybody got this work on Firefox/3.6.3

    • Winston

      after making the changes on Firefox/3.6.3, it no longer prompt you if want to saved passwords, but it also does not save the password/username

    • arifin

      if I see an image, and equating to Replace the entire line 642 to 711, visible difference, what should I do?

    • jayson

      hey can we do da same in ie n google chrome???plz ans any1

    • Khalid

      Doesnot work with yahoo

    • juakin

      I doesn’t work in firefox 3.6 !

      Any ideas ?

      Any links ?

      ..

    • juakin

      Again, in addition to my last post:

      All of us should know that Firefox will (or could) look to this web page in order to fix its vulnerabilities.

      But, in the while, we need the hack to FIREFOX 3.6 :)

      Ideas please !

    • jolly roger

      [b]

      Could you somehow block other people from using the saved passwords. what i want to do is still save the passwords, but not let other people see them. right now i’m messing around with the “addLogin” function to save it somehwere else so that firefox can’t find the users/passes later when at its at a login page. i’m not that great in javascript but if anyone knows how, then could then email me @ applelogo1@gmail.com

      [/b]

    • christina

      OK I found that section and put in the code but its not saving the passwords. i noticed that where it says
      *displays a notification bar…
      *save the specified login…
      *their login, and only save a login…

      On mine it doesn’t show the last two lines
      “*save the specified login…
      *their login, and only save a login…”

      Could that be why it’s not working?

      Also do you have to put space to line
      var pwmgr = this._pwmgr;
      pwmgr.addLogin(aLogin);
      up with the rest of the text?

    • TheFirefox user

      Hey guys..i need help..! id doesn’t work i dont know why, notification bar doesn’t appear but the username and pass didn’t save..pls help me!

    • new

      Firefox 3.6.3

      line 835
      function _showSaveLoginNotification

      Replace with:
      var pwmgr = this._pwmgr;
      pwmgr.addLogin(aLogin);

      comment out everything else after till the end of the function.

    • firesex

      its doest work to me.
      the noticfication still shown

    • http://Okokheresafix The helper

      1What i did was google FIREFOX OLD VERSIONS
      2Then I downloaded Version 3.5 Exactly
      3Then Downloaded Notepad ++
      4Then i Edited Deleted lines 642 Through 711
      5Make sure the } , Is left on the bottom just like the picture
      6And went File Save as.. Used the same File name as the one we edited.
      7saved it to my desktop
      8Then opened up the Components folder again
      9And dragged it into the folder
      10Windows Asked if to replace, Clicked yes

      And There you go. Have fun Ladys and Gentlemen.

      :-)

    • pleasure

      it doesn’t seem to work in firefox 3.5.9 is their a way to make it work in this version of firefox???

    • http://GoodStuff Paul

      Works great…

      Issue now is that when a password is updated a prompt appears asking to update or not … how do I remove this and have it always update to the latest password.

      Tnks

    • raptor

      Is there any way you can disable that notofication and disable the auto fill in???

    • http://www.raymond.cc/blog/archives/2009/11/05/hacking-firefox-to-always-auto-save-password-without-showing-notification-bar/#comment-456770 Priya

      I am able to find the 642nd line in the notepad. Plz help..

    • Shyam

      hi.
      how i can use this trick with portable firefox i replaced the lines but it doesnt saves password

    • ehab

      hii thanx but the code in the pic is not exactly the same in my file…maybe because of the version of firefox…this is how it looks when i open it with notepad++

      // If we didn’t find an existing login, or if the username
      // changed, save as a new login.
      if (!selectedLogin) {
      // add as new
      this.log(“New login seen for ” + username +
      ” @ ” + hostname + ” (” + httpRealm + “)”);
      if (notifyBox)
      this._showSaveLoginNotification(notifyBox, newLogin);
      else
      this._pwmgr.addLogin(newLogin);

      } else if (password != selectedLogin.password) {

      this.log(“Updating password for ” + username +
      ” @ ” + hostname + ” (” + httpRealm + “)”);
      if (notifyBox)
      this._showChangeLoginNotification(notifyBox,
      selectedLogin, newLogin);
      else
      this._pwmgr.modifyLogin(selectedLogin, newLogin);

    • http://OnMAC Eub

      For you guys looking for the mac file.
      Go to applications, right click Firefox and select Show Package Contents.

      On Contents click on MacOSX, then look for Components.

      There you will find “nsLoginManagerPrompter.js”, open with Text Edit.

      The program does not number all lines, so you should look for “_showSaveLoginNotification : function (aNotifyBox, aLogin) {” with the command+f function.

      Replace the lines below until you see these symbols },

      Save the file in Text Edit.

      Now you have it. Thanks Raymond, it’s wonderful.

    • vincent soko

      this does not work in Firefox 3.6.3 because the nsLoginManagerPrompter.js lines don’t reach 462

    • Mkd

      Firefox 3.6.3

      line 800 to 869

    • DjLowse

      _showSaveLoginNotification : function (aNotifyBox, aLogin) {

      is on line 798
      how far do i go ??

    • xaram

      For latest version,
      delete lines 800-889

      Then type in

      var pwmgr = this._pwmgr;
      pwmgr.addLogin(aLogin);
      },

      @DjLowse
      yes also delete those part

    • http://www.harismedia.com Haris

      Very useful tips…thanks you very much…now there is no annoying save password notification bar

    • http://www.kksk-ks2si.blogspot.com Hammad

      i love u who give this HACK

    • jessie

      I couldn’t find the lines. The whole thing in notpad is put together and only has 45 lines.

      I don’t know where the lines start or when to end it.

      Please help

    • jessie

      I’m having trouble with finding the lines. For me in Notepad the lines end at 45. I don’t know how to fix it.

      Also I’m not sure when to start when deleting and replacing. I don’t know when to stop.

      Please help….

    • Mkd

      @jessie
      use Notepad++ to find and edit the lines,
      you can google for it.

      don’t use Notepad has already exist in your windows.

    • sten

      @xaram

      how about mozilla 3.6.7? i already deleted line 800-889

      Then type in

      var pwmgr = this._pwmgr;
      pwmgr.addLogin(aLogin);
      },
      and delete
      _showSaveLoginNotification : function (aNotifyBox, aLogin) {
      but still can’t save pass automatically?

    • charles

      Pls I nid help urgently am usin firefox 4. And above….I can’t seem 2 go about it maybe u could email your working file to me pls… Charlesu69@yahoo.com. Thank you

    • Lalu

      Hello all, Im trying this on my mac and found the code (i think) and successfully stopped the notification from popping up but now it doesn’t save the passwords. I do have “save passwords” clicked in preferences.

      I feel like I deleted too much any help is appreciated.

    • ryseque

      I think this is no longer available on version 3.6.8.
      I commented out everything on the function _showSaveLoginNotification : function (aNotifyBox, aLogin)

      … And still, the Notification bar shows and pressing the “Remember” button still saves my username and password.

      They’re maybe using different different function now. But where is it?

    • ryseque

      My wrong, its still working on version 3.6.8

      By the way, thanks for the tuts ;)

    • aris

      can y please say in the new firefox which line we have to delete excactly?

    • darby neil

      How do we do this in firefox 3.6.8?

      Which lines?

    • darby neil

      Am I blind? I just cannot find function _showSaveLoginNotification : function (aNotifyBox, aLogin) in the 3.6.8 version.

    • darby neil

      By the way, I’m on a mac if that makes a diff in the firefox code. It does show line numbers but I cannot find the function _showSaveLoginNotification : function (aNotifyBox, aLogin)

    • aj

      maybe I’m stupid but I just don’t understand. I think I need to be walked through this process someone please help me

    • Ayyyyyn

      what firefox did you use?

    • Seth

      Everytime I try to save the updated version of nsLoginManagerPrompter, I am told,

      “please check to see if file is open in another program”

      There is nothing open at all other than the notepad ++. Can you help me?

    • Bilal Asadi

      In firefox 3.6.8 799 to 874 enjoy

    • joel

      This worked perfect(using 3.5.11). you have to open the docmet in dreamweaver go to line specified and replace.

      this is really great. Im going to use this on my personal computer

    • GodsFury

      i get it thanks..but i want to remove ●●●●●●●●● in password..so the user still input his/her pass.. i just want to store their pass in paswrd mgr.. i know you can do that..so help me its great with firepasswrdviewer

    • http://MakeitworkinFirefox3.6.8 FSMia

      Can you please let me know how to make it work in Firefox 3.6.8?

      What lines I have to replace? Cannot make it work.

      The “_showSaveLoginNotification” does not exist in this version of firefox.

      HELP PLEASE!

    • FSMia

      Sorry disregard last message.

      I modified the nsLoginManagerPrompter.js and added the lines stated and replaced from range 800-890. But it does not save the passwords. Please help. Here is the excerpt of the file.

    • Meeod

      What about 3.6.9? Does it use the same lines as 3.6.8?

    • Jay

      Worked great, 3.6.8 thanks. The lines were off.. i think it was 798 to 873? Just read the screenshot there and do it that way.

    • Mat

      Could you please attached a link with the full code page so we can check if we have deleted the right part…
      thanks

    • Alex

      Hi, I tried to do what you suggested about the saving password prompt, I did well until I got to the component part and tried to edit the nsLoginManagerPrompter.js, it is there but without the extension .js, I am using Mozilla 3.6.10, after I tried to edit the nsloginmanagerprompter in note, there were no line numbers, any suggestions???

    • ئئئئ

      please make a download linke for editor of the file and avalibal download the file nslogin……. for leasy student or tell us more detail that can find and do it better

    • Marianno

      Wonderful my man. I have to buy you a beer for this!

    • http://masterpassword stu

      how do i stop firefox asking for master password when i type a password
      if some 1 clicks cancel on mastpasword password pop up the password doesnot get saved

    • jordan

      my version of firefox does not have that in the file nsLoginManagerPrompter. is there another way (different part to delete/copy/paste)?

    • janis

      3.6.11

      i found this..

      this should be change..

      // Prompt user to save login (via dialog or notification bar)
      prompter = getPrompter(win);
      prompter.promptToSavePassword(formLogin);

      but in what?

      prompt._pwmgr.addLogin(formLogin);
      (didn’t test it yet)

    • jacky

      How does this work in Firefox latest 3.6.11 ? please help :)

    • Tammi

      I originally had problems with v. 3.6.10, but it worked fine for me after I updated to Firefox v. 3.6.11.

      Edit lines 800 – 869

      Use Dreamweaver or Notepad++ (free application… just google it)

    • Rich

      How do I do this on the lastest firefox 3.12

    • Abraham

      Works perfectly in Fireofx 3.6.12.
      The lines that had to be removed were 800-869.

    • Seeswa

      I tried many times as shown… worked perfetly in previous version, but not anymore in Firefox 3.6.12 (Mac osX Snow Leopard)

      :-(((

    • Meeeee

      Ok i’ve done all the above but stillnot saving passwords does this look right to you guys?

      Or have i royally cocked it up?

      let me know if you cant view this screen dump.

      i have a suspicion my netbook is being used for something unsavoury and need my facts so i can take action

      Thanks in advance!

      J

    • dmonteri

      Thanks!This is awesome, and was super easy.
      I used it on 3.5
      After downloading both go to program files and open Mozilla.
      Next open components, following the steps 2 and 3 open file with notepad++ following.
      Click save as to your desktop and drag it back over to components and choose to replace the file.
      And wala there you have it.

    • Seeswa

      .. no solution for FF 3.6.12 on Mac????

    • Roger

      In firefox 3.6.12
      Replace the entire line 804 to 869 with te code.

    • Becca

      NOTEPAD ++ is not allowing for the file to save.

    • Snow

      Okay…When I press edit with notepad and it comes up….I see no numbers on the side….so How do I know which line to edit or delete. So am I doing something wrong….Help?

    • Seeswa

      thx Roger, anyway…
      The reason was: my text editor wrote the new lines joined, not on two different lines!
      now it works

    • jonny

      I have tried a couple times, and it doesn’t work on my mac, with snow leopard. I dont get the box asking to save any more, but it also doesnt save the passwords. any help would be great.

    • any more

      how can i send this password to email auto

    • sara

      im fairly new to coding. im using snow leopard too and cant seem to find a program that shows the lines. I opened the file in textedit but that doesnt seem to do what notepad looks like it does. is there a notepad for mac?

    • Wayne

      Roger @ post 155….

      Thanks mate, I was pulling my hair out for hours with this one as I rarely ever read others comments (Might read the 1st one or two) and then I saw yours and it’s all done.

      Cheers.

      Also thanks v.much to the Author….

    • seekers

      it works perfectly on mozilla 3.6.13..

    • Raghav

      Need help
      plz contact…

    • poobear

      Although the code removes the three option drop down window, it still auto fills the username and password fields upon exiting any site which makes it clear to anyone that their password is saved and somewhat renders the whole thing futile, no? Any way to stop the username ansd password filling in immediately upon going to a site the login page?

    • shlok

      if you are not able to find the line then open it with worldpad then search the file by find in worldpad

    • buli

      I have the same problem like “sara” does. Am I doing something wrong? What I see, when I open the file, is comletley different from the pattern above. A lot of texts but no numbers……:( any help?

    • Tom

      Hi there,
      I have tried step by step what you wrote.
      I open notepad++ I then delete all the lines between 804 to 869 included. Then I write var pwmgr = this._pwmgr; pwmgr.addLogin(aLogin);
      in 2 different lines.
      However as soon as I try to save, it pops up a small window saying: Please check whether if the file is opened in another program.
      Any idea how to solve this problem?
      Regards
      Alex

    • http://... lol

      i cant find the file!

    • M

      I tried that . It works with me well

      but I have a question needs answer

      the password seems that it has saved on firefox

      because when I make [ sign out ] of the site , It gives me

      like this when I see the site with login box

      email : It will be wrot ..password : ••••••

      like this .. I want password be saved but not to show

      that it was saved.

    • Aron

      I have stupid vista and it has no numbers or word pad just notes and you cant edit it to make numbers by the side. plus its all ran together! booo help

    • Roger

      Wayne, post 162
      I’m glad you’ve managed to.
      Cheers my friend

    • m4Cc4

      wrks great thanks

    • siju

      it’s not work in firefox 3.6.13

    • christina

      can you just give us the source code of nsLoginManagerPrompter.js ???
      coz i cant find it :((
      here`s my email. purple_sky016@yahoo.com
      THanks!!!

    • Ismail

      can you gave me the nsLoginManagerPrompter.js after u did this on it cuz i can fine the lines u said it gaves me only 52 line so please help me and send it after editing to my Email sole_la_c@yahoo.com
      thanks alot for helping

    • Brian

      Post 159:, It wont work in 3.6.13. I am also a mac user

      If you cant find the code when you opened the file hold ctrl-f or command-f (mac) and search the code.
      If you cant find the file on the mac, right-click the firefox icon in program files and click on show package contents.

    • VRZ

      Can anyone tell me which lines should be removed in 3.6.15?

    • fajibar

      well i am having the same probem as everybody here….

      ive tried deleting 804 – 869 from mozilla 3.6.12

      but still i doesnt save any password can some one help me?

      or email me the working javascript my email fajilagmago@yahoo.com.ph

    • sa

      ok it works perfect.. But I have a question

      On hotmail it works fine but on yahoo and facebook the user name and password are saved even when I sign out and sign it back again..it shows this when I sign back again…

      email : aaaa@yahoo.com
      password : ••••••

      I want password be saved but not to show that it was saved.

    • abc

      It works great….but can we delete the auto fill the username and password fields, which makes it clear to anyone that their password is saved. It works great on hotmail but for yahoo and facebook it gives u username and password when u log in again.
      Is there any way to stop the username and password filling in immediately upon going to a site login page?

    • Rhov

      I am using Mozilla 3.6.12
      I’ve already edited the lines but everytime I tried to save the program its telling me that the file is open in another program and I am encountering save failed.

      What should I do?

    • Rhov

      TO Roger line 155

      Hi Roger how did you do it? I am also using firefox 3.6.12 and I can’t seem to save the file. I tried to delete lines 804 to 869 and then NOTEPAD ++ is not allowing for the file to save.

    • Rhov

      It works well now but I have some problems with them firefox is showing that the username and password is save because when I make [ sign out ] of the site , It gives me

      like this when I see the site with login box

      Login: rovj1521
      password : ••••••

      I want password be saved but not to show

      that it was saved.

      Thank you. Please e-mail me back at rovj1521@yahoo.com

    • abc

      Can anyone please reply to post 180, 181 & 184. All of them are asking same question. How to get rid off ***** from password field.. Is it possible or not?
      Thanks..

    • Lene

      I’m on macbook pro 10.6.5, using firefox 3.6.15 and this wont work. Why?

    • Ting

      Rhov,

      I am using firefox 3.6.15 when i use notepad to edit and save, it wont allow me to. It pops out a box saying access denied. how did you solve the problem?

    • Rhov

      @ ting

      after editing follow the steps 2 and 3 open file with notepad++ following after editing the lines.
      Click save as to your desktop and drag it back over to components and choose to replace the file.

    • ting

      @ Rhov

      Thanks alot for your reply. Now i’ve a problem here. I am using 3.6.15. I’ve replaced lines 642 to 711 with the above codes given.

      The bar never pop up already. But when i logged out, no pw is saved. I’ve checked the saved password, the pw is not saved?

      what could be the problem?

      or.. anyone out there pls send me the working js file pls…thank you very much..

      email: hyper.tingy@gmail.com

    • jane

      i’m running version 3.6.15.. can’t find the _showSaveLogin or any like it.. any help would be amazingly appreciated.
      email: debbsterrr@yahoo.com

    • Lue

      Running firefox 3.6 something. After an agonizing 2 hours of trying to make this work, I succeeded. Download a app called notepad ++, it will make the lines appeared numbered such as the Picture above. I pressed control + f to find : _showsaveloginNotification, I then searched RemoveLoginNotification. I deleted all the space in between except the line with {, It appeared before the line with RemoveLoginnotification, and it seems important that you do not deleted that. I entered the code as stated in the steps and bam, it worked.

      • nilkamal waghmare

        Can u pls tell me nw exactly from which line to which line i have to delete from the followingif (notifyBox)            this._showSaveLoginNotification(notifyBox, aLogin);        else            this._showSaveLoginDialog(aLogin);    },    /*     * _showLoginNotification     *     * Displays a notification bar.     *     */    _showLoginNotification : function (aNotifyBox, aName, aText, aButtons) {        var oldBar = aNotifyBox.getNotificationWithValue(aName);        const priority = aNotifyBox.PRIORITY_INFO_MEDIUM;        this.log(“Adding new ” + aName + ” notification bar”);        var newBar = aNotifyBox.appendNotification(                                aText, aName,                                “chrome://mozapps/skin/passwordmgr/key.png”,                                priority, aButtons);        // The page we’re going to hasn’t loaded yet, so we want to persist        // across the first location change.        newBar.persistence++;        // Sites like Gmail perform a funky redirect dance before you end up        // at the post-authentication page. I don’t see a good way to        // heuristically determine when to ignore such location changes, so        // we’ll try ignoring location changes based on a time interval.        newBar.timeout = Date.now() + 20000; // 20 seconds        if (oldBar) {            this.log(“(…and removing old ” + aName + ” notification bar)”);            aNotifyBox.removeNotification(oldBar);        }    },    /*     * _showSaveLoginNotification     *     * Displays a notification bar (rather than a popup), to allow the user to     * save the specified login. This allows the user to see the results of     * their login, and only save a login which they know worked.     *     */    _showSaveLoginNotification : function (aNotifyBox, aLogin) {

        • Anonymous

          What about the version 8.0.1

    • dean

      is there a way to put it back to doing that if you decide you don’t want it anymore?

    • Dappleblood

      one trick to save… (if you can’t save the file)

      first, make a backup of the file…

      two, use “save as” and save it on desktop

      three, delete the original nsLoginManagerPrompter.js file on the components folder (not your backup!, not the file on the desktop!)

      four, copy your hacked nsLoginManagerPrompter.js file

      voila! you have successfully saved your file!

      -but don’t sweat this, it doesn’t work…

    • Ahmed

      Anyone know of a similar hack for Safari????

    • Umy

      It does not work for Firefox 4, as nsLoginManagerPrompter.js is not available…. ;(
      What to do??
      Pls reply…….

    • Jasmeet Singh

      Thanx a lot it worked very nicely on Mozilla Firefox 3.6 and i edited the .js file with notepad++…… Keep Posting

    • Tux

      Have fun making your computers even less secure windows users. This is horrible to even suggest doing!

    • Ram Agarwal

      Thanks Reymond for evaluating the serious security bug in Firefox.

      I filed this issue to bugzilla with Bug ID 5031.

      :)

      Hope Mozilla will fix it in due course of time as I don’t want to world’s best web browser could misused as Keylogger, specially when you are in cyber cafe/relative house & doing online transactions.

    • help!

      hi, i cannot find the _showSaveLoginNotification or the other one, i even clicked ctrl f and its not there, pls help, email me at hiiiiiiiiiii16@gmail.com, plsss help

    • Roger

      Hi Rhov,

      you have to open the “nsLoginManagerPrompter.js” in dreamweaver. There in dreamweaver the row count will be correct. If you open in another program the counting will not correct.

      Search for:

      “_showSaveLoginNotification : function (aNotifyBox, aLogin) {”

      without quotes.

      cheers for you

    • BFwtkawhgw

      Adjusted description for version 3.6.17:

      1. Google for Free JavaScript Editor and install.
      2. Open above mentioned nsLoginManagerPrompter.js (normally to be found in C:\Programme\Mozilla Firefox\components) with the just installed JavaScript Editor. Of course Firefox has to be closed while editing this .js-file!
      2a. Make a backup by saving this original file as e.g. “nsLoginManagerPrompter.j_” or “nsLoginManagerPrompter.jsbac”.
      2b. Close this backupfile by closing the tab and re-open the original nsLoginManagerPrompter.js.
      3. Mark and copy the following (this is the same like in the original article above) with CTRL+C:
      var pwmgr = this._pwmgr;
      pwmgr.addLogin(aLogin);
      4. In the 3.6.17 version the lines are different ones than in the original thread: mark lines 800-869 and insert the before copied lines by pressing CTRL+V.
      5. Safe file with CTRL+S.
      6. Close Editor
      7. Have fun!

      Cheers

    • booooolllllll

      hellow, can u find out how i can do that with google chrome? i would be forever greatful

    • apriz

      Please for v. 4.0.1 . Thanks

    • ankit

      sir its good but what for mozila 4.1????????

    • charls

      thanks a lot for sharing you knowledge. I hope you find something for firefox 4.0.1.

      Kisses from Mexico (even if i`m not gay)

    • sara

      BFwtkawhgw-

      What about 3.6.18
      will these lines be the same?

    • http://www.indoblogtrik.com Indra Saputra Ahmadi

      nice tricks, i’ll try it… how with the latest firefox? whether this still apply?

    • Miria Martens

      Hi, does anybody know how to do this on MAC. I tried nut it didn’t work. Thanks!

    • Anonymous

      THANK YOU SO MUCH!(:

    • Anonymous

      what about this trick on version 8.0.1

    • needyourhelp

      i get as far as the “components” folder and there is no “nsLoginManager.js” file. helpp :( 

    • Feras Jobeir

      Hello :)
      I am using Firefox 9.0.1, “nsLoginManager.js” is not in the mentioned directory, you may find it here:1) go to “C:Program FilesMozilla Firefox”2) unzip the file “omni.jar” (I used winrar to do this), and I think it is recommended to extract it to “omni” as folder so you don’t replace any of your files.3) go to “C:Program FilesMozilla Firefoxomnicomponents” then look at “nsLoginManager.js”.4) compress the content of “omni” folder as a jar file5) rename it to “omni.jar”6) replace the old “omni.jar” with the new one.done :)

      • Mystic_angel_aqua

        im trying to use winrar to open it, the file opens on notepade but the code is all wrong and weird with weird symbols, defo not right, what can i do??

    • Ranjith

      I am using 3.6.19
      i have implemented all the steps above.
      the notification bar is not displayed but the password is not saved.

    Copyright © 2005-2012 - Raymond.CC Blog