Friday, July 16, 2010

Firefox – Disable login confirmation dialog

There are times FireFox presents a confirmation dialog, telling you that you are about to log in to a site that does not requires authentication. The exact text of this dialog is:

You are about to log in to the site “somesite.com” the the username “someuser”, but the web site does not require authentication. This may be an attempt to trick you. Is “somesite.com” the site you want to visit.

And here is how the dialog looks like:

image

By showing this dialog FireFox is trying to protect you from cases in which someone would like to trick you to go to a different domain. For example, take a look at the following url:

http://www.mybank.com:password@example.com/badsite

The first part of the url is: “www.mybank.com:password”, is not a domain, but actually the username/password used to log to the domain: example.com. FireFox showing this dialog in order to get your attention and decide if you are sure you would like to proceed to the domain.

However, if this dialog is annoying you, you can easily remove it. First, write on FireFox url: “about:config”. This will take you to FireFox advanced configuration. This configuration contains a long list of keys and values. In order to cancel the configuration dialog you have to add a new value by right clicking on the list and selecting: new—> Integer from the popup menu:

image

On the popup that will show enter the following value: “network.http.phishy-userpass-length”

image

The press “OK” and enter the value: 255

image

That’s it. The confirmation dialog should never bother you again.

6 comments:

  1. I tried it with FF 4.0 Beta 7 for the FTP protocol and it doesn't work.

    ReplyDelete
  2. I still didn't install FireFox 4 so I have no idea. Since it is only a beta version, it might be a bug.

    ReplyDelete
  3. it works on firefox 14.01

    ReplyDelete
  4. Thank you! Any ideas on how to disable or possibly timeout those pesky Website pop up messages like " You have entered the wrong password, please try again? or Please fill in your First Name", etc .. I am using imacros and when one of these messages pops up, it stalls my whole process. I am trying to find a way around it or to disable it. Thanks

    ReplyDelete
  5. nickel, t'es le meilleur, ca marche impec...

    ReplyDelete