為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 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?