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!

搜尋 Mozilla 技術支援網站

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

了解更多

how to disable Pop-up blocker settings or add a exception website for pop-up as default before install firefox

  • 3 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

i need set a default exception website for pop-up blocker settings fore every firefox install. or completely disable pop-up blocker settings as default.

what can i do for this purpose?

i need set a default exception website for pop-up blocker settings fore every firefox install. or completely disable pop-up blocker settings as default. what can i do for this purpose?

被選擇的解決方法

cor-el said

You can use the PopupBlocking policy.

i gave it a try to create a policies.json on /etc/firefox . but failed for me. {

 "policies": {
     "PopupBlocking": {
         "Allow": ["https://www.xxx.net/"],
         "Default": true | false,
         "Locked": true | false
   }
 }

}

thanks a lot. i finally found two methods to meet my need. 1. set dom.disable_open_during_load to false 2. or copy a pre-set permissions.sqlite to profile directory.

從原來的回覆中察看解決方案 👍 0

所有回覆 (3)

more options
more options

選擇的解決方法

cor-el said

You can use the PopupBlocking policy.

i gave it a try to create a policies.json on /etc/firefox . but failed for me. {

 "policies": {
     "PopupBlocking": {
         "Allow": ["https://www.xxx.net/"],
         "Default": true | false,
         "Locked": true | false
   }
 }

}

thanks a lot. i finally found two methods to meet my need. 1. set dom.disable_open_during_load to false 2. or copy a pre-set permissions.sqlite to profile directory.

more options

You need to select only one of the "true | false" choices.

{
  "policies": {
    "PopupBlocking": {
      "Allow": ["https://www.xxx.net/"],
      "Default": true,
      "Locked": false
    }
  }
}