beta.blog

Firefox: Block all Pop-ups

by on Nov.08, 2010, under Random()

Firefox is my favourite webbrowser for several years now. It’s one of the fastest, most customize- and extendable as well as most secure browsers in the world. Recently I came across several websites which used nasty methods of showing up Pop-ups without my permission.

I’ve had several Pop-up blocking addons installed, however it seems like those websites have found a way to bypass them. I searched for a way to block those annoying Pop-ups, and after doing some research I found, that a very nice solution already comes with Firefox itself.

Here’s how to enable it:
1. Type into the address bar:

about:config

2. A warning message might appear. You can ignore it for now and continue the process.

3. At the top of the site you’ll see a label “Filter”, in the textbox next to it type:

dom.popup_allowed_events

and the list will only show one more entry.

4. Double click on this entry and remove its value. It will set Firefox to block Pop-ups of any kind. Though whenever a site tries to open a Pop-up, you will get the option to allow them for the current website.

It’s working great for me, and since I changed the config, I have no more of those annoying Pop-ups 😀
Actually it works better than any popup blocker I’ve used so far.

If you wish to reset it to its default value again, double-click the entry dom.popup_allowed_events again and enter the following line:

change click dblclick mouseup reset submit

Update: Use this instead:

change click dblclick mouseup reset submit touchend

Applying this change will enable all popups again.


1 Comment for this entry

Leave a Reply

*

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!