How to deploy popup blocker allowed sites settings to multiple computers?
We are running on Win 7 Platform with Firefox ESR version 31.4.0. We want to disable popup blocker for certain sites. I tried to use FirefoxADM_0.5.9.4 to apply the settings through group policy but that did not work. When I look at the firefox_login.vbs file, there is a line mentioning registry setting FirefoxPopupsWhitelistKey = WshShell.regread("HKCU\Software\Policies\Firefox\FirefoxPopupWhitelist") but I cannot find that key on the computer.
Does anyone has experience deploying this type of settings? If not, I am also open to hear about disabling completely popup blocker.
if this cannot be done through group policy, please let me know other way that I can do this. I read through the about:config configuration but I did not find any settings to disable the popup.
Thanks for your help.
被選擇的解決方法
Firefox stores all exceptions in the permissions.sqlite file, so you would have to use an SQLite Manager extension or program to modify this database.
Disabling the pop-up blocker in Firefox would be easier as that would only require to toggle a pref and that can be done via a mozilla.cfg file.
You can use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.
Place a local-settings.js file in the defaults\pref folder where also the channel-prefs.js file is located to specify using mozilla.cfg.
pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0);
These functions can be used in the mozilla.cfg file:
defaultPref(); // set new default value pref(); // set pref, allow changes in current session lockPref(); // lock pref, disallow changes
See also:
- http://mike.kaply.com/2012/03/16/customizing-firefox-autoconfig-files/
- http://mike.kaply.com/2014/01/08/can-firefox-do-this/
所有回覆 (2)
選擇的解決方法
Firefox stores all exceptions in the permissions.sqlite file, so you would have to use an SQLite Manager extension or program to modify this database.
Disabling the pop-up blocker in Firefox would be easier as that would only require to toggle a pref and that can be done via a mozilla.cfg file.
You can use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.
Place a local-settings.js file in the defaults\pref folder where also the channel-prefs.js file is located to specify using mozilla.cfg.
pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0);
These functions can be used in the mozilla.cfg file:
defaultPref(); // set new default value pref(); // set pref, allow changes in current session lockPref(); // lock pref, disallow changes
See also:
Thanks cor-el.
I used cck wizard from mike.kaply and I got what I need. your tip on disabling popup blocker using the local-settings.js and mozilla.cfg work as well.
so do I need to use FirefoxADM_0.5.9.4 at all? I read somewhere that firefox doesn't play nice with Active Directory.
I know that FirefoxADM_0.5.9.4 able to disable the message to set firefox as default browser. I believe using cck or local-settings will be more reliable than using AD group policy.