See:

https://mike.kaply.com/2012/02/21/understanding-add-on-scopes/

You shouldn't be touching enabledScopes.

Mike

On 1/21/16 5:14 AM, Christoffer de la Motte wrote:
Hi, im deploying Firefox to a enterprise environment (think SCCM) with an extension included. Ive solved everything except one thing: To actually enable the extension automatically.

*Im using a .js-file that points to mozilla.cfg:*
pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);

*Ive created mozilla.cfg and added prefs:*
// Disable updater
lockPref("app.update.enabled", false);

// make absolutely sure it is really off
lockPref("app.update.auto", false);
lockPref("app.update.mode", 0);
lockPref("app.update.service.enabled", false);

// Disable Add-ons compatibility checking
clearPref("extensions.lastAppVersion");

// Don't show 'know your rights' on first run
pref("browser.rights.3.shown", true);

// Don't show WhatsNew on first run after every update
pref("browser.startup.homepage_override.mstone","ignore");

// Disable the internal PDF viewer
pref("pdfjs.disabled", true);

// Disable the flash to javascript converter
pref("shumway.disabled", true);

// Don't ask to install the Flash plugin
pref("plugins.notifyMissingFlash", false);

//Disable plugin checking
lockPref("plugins.hide_infobar_for_outdated_plugin", true);
clearPref("plugins.update.url");

// Disable health reporter
lockPref("datareporting.healthreport.service.enabled", false);

// Disable all data upload (Telemetry and FHR)
lockPref("datareporting.policy.dataSubmissionEnabled", false);

// Disable crash reporter
lockPref("toolkit.crashreporter.enabled", false);
Components.classes["@mozilla.org/toolkit/crash-reporter;1 <http://mozilla.org/toolkit/crash-reporter;1>"].getService(Components.interfaces.nsICrashReporter).submitReports = false;

// Disabled Plugin Check
defaultPref("plugin.scan.plid.all",true);
defaultPref("plugins.update.url","");

*I got recommended two months back to use:*

// Enable Extensions
defaultPref("extensions.autoDisableScopes", 2);
defaultPref("extensions.enabledScopes", 4);

*Using those two lines removes the extension from Firefox.*

Does anyone have a clue how to enable extensions automatically? Is there a way?

The extension that i want enabled is IBM Sametime WebPlayer 9.0.0.1529


_______________________________________________
Enterprise mailing list
[email protected]
https://mail.mozilla.org/listinfo/enterprise

To unsubscribe from this list, please visit https://mail.mozilla.org/listinfo/enterprise 
or send an email to [email protected] with a subject of 
"unsubscribe"


--
Mike Kaply - Kaply Consulting in Austin, TX
Sign up for my newsletter - http://mike.kaply.com/email/
http://mike.kaply.com | http://www.linkedin.com/in/mkaply

_______________________________________________
Enterprise mailing list
[email protected]
https://mail.mozilla.org/listinfo/enterprise

To unsubscribe from this list, please visit 
https://mail.mozilla.org/listinfo/enterprise or send an email to 
[email protected] with a subject of "unsubscribe"

Reply via email to