how to disable Pop-up blocker settings or add a exception website for pop-up as default before install firefox
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 👍 0All Replies (3)
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.
You need to select only one of the "true | false" choices.
{ "policies": { "PopupBlocking": { "Allow": ["https://www.xxx.net/"], "Default": true, "Locked": false } } }