Windows 10 reached EOS (end of support) on October 14, 2025. For more information, see this article.

Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

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

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.

Svi odgovori (6)

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.

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.

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

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?

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?