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!

ابحث في الدعم

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 ردود
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه 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.

Read this answer in context 👍 0

All Replies (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
    }
  }
}