We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

Is there a way to add sites to pop-ups allowed list using lock preferences ?

more options

Trying to add couple sites into pop-up exception list for our sales department. I created local-settings.js / mozilla.cfg and it's works fine. I was able to set other settings by looking on about:config and apply the settings on mozilla.cfg. My question is which one of those preferences is responsible for adding sites to exception list? I'm guessing it would be dom.popup_allowed_events but I don't know how to put the right value for it.

Trying to add couple sites into pop-up exception list for our sales department. I created local-settings.js / mozilla.cfg and it's works fine. I was able to set other settings by looking on about:config and apply the settings on mozilla.cfg. My question is which one of those preferences is responsible for adding sites to exception list? I'm guessing it would be dom.popup_allowed_events but I don't know how to put the right value for it.

All Replies (6)

more options

Type about:preferences#content<enter> in the address bar Under Content turn on Block pop-up windows. To its right, press Exceptions. List any sites that you do not want pop-ups to be blocked.

more options

That works if I want to go to each computer and do it manually. What I want is to set all the preferences that I need to mozilla.cfg and deploy it using script and GPO.

more options

You can use Sync for that, but I don't use it myself.

more options

All site specific permissions are stored in permissions.sqlite as part of Site Preferences and not as a pref in prefs.js, so you can't do this via prefs.

more options

cor-el Thanks for clearing that.

Is there any way to achieve that using GPO?

more options

cor-el said

All site specific permissions are stored in permissions.sqlite as part of Site Preferences and not as a pref in prefs.js, so you can't do this via prefs.

cor-el Thanks for clearing that.

Is there any way to achieve that using GPO?