Every time I log on to my webmail I see a bar like on image below. I don't want to add this as an application and it is pretty annoying to close this every time. How can I disable it permanently?

The bar says:

Add o2 Poczta (poczta.o2.pl) as an application for mailto links? [Add Application] x

Image: example

EDIT:
I tried to use Firebug to see what causes this bar to appear but with no luck. Anyone help?

EDIT 2:

Su's answer from http://webmasters.stackexchange.com :

This is done by registering a protocol handler. From that page:

navigator.registerProtocolHandler("mailto", "https://www.example.com/?uri=%s", "Example Mail");

The site would just have to run a similar snippet at an appropriate moment(login, in your case).

Link: registering a protocol handler

How can this be blocked?

link|improve this question

25% accept rate
That sounds like something coming from your webmail. Have you tried looking in your webmail settings to see if you can disable it? – SaintWacko Dec 2 '11 at 17:21
I know that my webmail might send something to Firefox in order to display this. I want make Firefox ignore this. – Jan Ajan Dec 3 '11 at 9:42
1  
I'm not having much luck figuring out how the webpage might request it. If you can find out, you might be able to block it using something like Ad-Block Plus. – SaintWacko Dec 5 '11 at 16:17
you could probably also write a Greasemonkey userscript that selectively overrides whatever Javascript functionality on the page that is trying to register itself as a mailto handler.. – merv Mar 3 at 11:06
feedback

2 Answers

have you tried going to about:config

There are some keys in there relating to mailto:

network.protocol-handler.external.mailto;true
network.protocol-handler.expose.mailto;false
network.protocol-handler.warn-external.mailto;false

You could try toggling them, I can't test as I can't recreate whats happening for you, I think maybe the first of the three to false maybe a good start,

Be careful when editing this config as it may cause strange things to happen maybe even break firefox.

link|improve this answer
feedback

you can do it easily with adblock-plus addon for firefox (assuming you are polish you probably using it anyways :P ) or ad-block plus for chrome. And you get the nice advantage of all the ads blocked for you as well everywhere (even in youtube videos you no longer see commercials)

all you need to do is google search for ad block plus. download it install it

Who knows maybe its going to disappear as soon as you download the addon if not then find the name of the divider that the annoying popup appears I assume you know how to do that since you are familiar with firebug

then go to filter preferences ctr+shift+F

then go to custom filters tag then go to Element hiding rules (the last one) then click add filter then type #div(div_name)

div_name = the actual name of the div

and you are done. If something is an image and you want to block it you can right click it and there will be an option but im assuming this is not an image but a whole divider you want to get rid off.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.