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?
Выбранное решение
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)
Выбранное решение
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
}
}
}