搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.

所有回覆 (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?