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, null), "plugin:java", 1); Services.perms.add(Services.io.newURI("http:// domain.com", null, null), "plugin-vulnerable:java", 1); Services.perms.add(Services.io.newURI("http:// domain.com", null, null), "plugin:npdeployJava1", 1); Services.perms.add(Services.io.newURI("http:// domain.com", null, null), "plugin-vulnerable:npdeployJava1", 1); Services.perms.add(Services.io.newURI("http:// domain.com", null, null), "plugin:flash", 1); Services.perms.add(Services.io.newURI("http:// domain.com", null, null), "plugin-vulnerable:flash", 1); } catch(e){ }
This is loaded from the *AutoConfig Only* section in the *After CCK2* field. I'm not keen on why the first one has no space between the http:// where the others do. I hope it's a correct example I found, but it works! Warren On Tue, Mar 28, 2017 at 8:57 AM, Kasper, Ryan V <ryan.v.kas...@lmco.com> wrote: > 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); > > } > > catch(e){ > > } > > > > Add additional lines inside the try as needed… > > > > Thanks, > > Ryan Kasper > > Lockheed Martin Software Distribution > > ryan.v.kas...@lmco.com > > > > *From:* Enterprise [mailto:enterprise-boun...@mozilla.org] *On Behalf Of > *Aaron > D. Klein > *Sent:* Tuesday, March 28, 2017 6:36 AM > *To:* Enterprise@mozilla.org > *Subject:* EXTERNAL: Re: [Mozilla Enterprise] Manage Firefox Add-in's to > activate select upon deployment > > > > 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 could I do that via an entry in the > .cfg file? I looked in the about:config page and didn’t see anything > referenced in there for a few internal sites I have setup to allow popups. > > > > *From:* Enterprise [mailto:enterprise-boun...@mozilla.org > <enterprise-boun...@mozilla.org>] *On Behalf Of *Fjoerfoks > *Sent:* Tuesday, March 28, 2017 3:35 AM > *To:* Enterprise@mozilla.org > *Subject:* Re: [Mozilla Enterprise] Manage Firefox Add-in's to activate > select upon deployment > > > > 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 <aa...@bridgewater.edu>: > > First I wish to apologize if this has been answered several times but I > just signed up this list. > > > > We’re looking to push Firefox out to all our managed computers. I have > successfully setup a deployment via SCCM and tested the deployment to work > using the 52.0.1 ESR version of Firefox. I used information from this page > https://www.itsupportguides.com/knowledge-base/configmgr- > sccm/install-and-configure-firefox-silently/ to setup the install. I > made a few tweaks like removing the bit that disabled auto update but > beyond that the deployment basically is the same as what is in the above > link. > > > > Our campus ERP uses a Silverlight plugin to work so when I tested this > deployment with our ERP I was prompted to activate a Microsoft Office and > Silverlight add in I did this and I was able to use our ERP interface. > What I am looking for is a way to configure at deployment those two add > in’s to be already activated for our users. > > > > I have looked around the web and must have used the wrong search terms as > I was not able to find a way to configure via a config file what add in’s > to be activated. All I found was information on how to turn things on / > off from an individual user level which I would rather not have our users > do. > > > > *Aaron Klein* | IT Center | Manager of Information Technology Operations > > phone: 540-828-5646 <%28540%29%20828-5646> | fax: 540-828-5493 > <%28540%29%20828-5493> | online: * bridgewater.edu > <http://www.bridgewater.edu/>* > > *[image: BClogo-H2C-[Converted]_small-2]* <http://www.bridgewater.edu/> > > > > > _______________________________________________ > Enterprise mailing list > Enterprise@mozilla.org > https://mail.mozilla.org/listinfo/enterprise > > To unsubscribe from this list, please visit https://mail.mozilla.org/ > listinfo/enterprise or send an email to enterprise-requ...@mozilla.org > with a subject of "unsubscribe" > > > > _______________________________________________ > Enterprise mailing list > Enterprise@mozilla.org > https://mail.mozilla.org/listinfo/enterprise > > To unsubscribe from this list, please visit https://mail.mozilla.org/ > listinfo/enterprise or send an email to enterprise-requ...@mozilla.org > with a subject of "unsubscribe" >
_______________________________________________ Enterprise mailing list Enterprise@mozilla.org https://mail.mozilla.org/listinfo/enterprise To unsubscribe from this list, please visit https://mail.mozilla.org/listinfo/enterprise or send an email to enterprise-requ...@mozilla.org with a subject of "unsubscribe"