Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

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

  • 3 replies
  • 1 has this problem
  • 1 view
  • Last reply by 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?

Chosen solution

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.

Read this answer in context 👍 0

All Replies (3)

more options
more options

Chosen Solution

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
    }
  }
}