Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Prevent websites from opening new tabs

more options

I just reinstalled my operative system, and with that my Firefox settings got reset. I know there is an entry in about:config to prevent ads from opening new tabs and pop ups without authorization, even from legit websites like the login pop-up windows when doing a sign in in Google, in those cases to allow the windows it's needed to click on the lock icon next to the URL bar and allow it from there. The problem is that I don't remember the name of that setting and I have spend an hour looking for it on Google.

I just reinstalled my operative system, and with that my Firefox settings got reset. I know there is an entry in about:config to prevent ads from opening new tabs and pop ups without authorization, even from legit websites like the login pop-up windows when doing a sign in in Google, in those cases to allow the windows it's needed to click on the lock icon next to the URL bar and allow it from there. The problem is that I don't remember the name of that setting and I have spend an hour looking for it on Google.

Chosen solution

Solved, the setting I was looking for is dom.popup_allowed_events

Read this answer in context 👍 2

All Replies (3)

more options

The setting in the page information window is Open pop-up windows. There is an option Block pop-up windows under the heading Permissions on the Privacy & Security page of Settings.

more options

Chosen Solution

Solved, the setting I was looking for is dom.popup_allowed_events

more options

I have backup of this option. I just clear value from dom.popup_allowed_events and now I'm free from new tabs on some sites, and site work fine