We do this similarly vi CCK2. I have it load this via whitelist.txt file:
Components.utils.import("resource://gre/modules/Services.jsm");
try{
Services.perms.add(Services.io.newURI("http://domain.com;, null, null),
"popup", 1);
Services.perms.add(Services.io.newURI("http:// domain.com", null,
Aaron,
We accomplish this like such in autoconfig file (it is stored in
permissions.sqlite):
//Config pop-up whitelist
Components.utils.import("resource://gre/modules/Services.jsm");
try{
Services.perms.add(Services.io.newURI("http://example.com;,
null, null), "popup", 1);
}
Thanks. Adding those lines to my .cfg file works great.
One last question for the group. To specify that I want to allow popup’s on
internal sites like allow popups on all sites like https://*.bridgewater.edu
as we have several internal resources that require popup blockers to be
disabled
Hi Aaron,
To activate plugins by default without asking, you need to set :
plugin.state.xxx = 2
For Silverlight it is plugin.state.npctrl = 2
For Microsoft 2010 it is plugin.state.npauthz = 2 and plugin.state.npspwrap
= 2
Kind regards,
Wim
2017-03-27 21:31 GMT+02:00 Aaron D. Klein
4 matches
Mail list logo