Hi,

The two values have to be mutually exclusive. So, your values should add
up to 15.

Some examples:
        
pref("extensions.autoDisableScopes", 0);
pref("extensions.enabledScopes", 15);

(All extensions, no matter how they were installed, are enabled)

Or

pref("extensions.autoDisableScopes", 3);
pref("extensions.enabledScopes", 12);

(Extensions installed by the user are disabled, but all system-wide
extensions are enabled)

On a fairly restricted Windows system, you would set

pref("extensions.autoDisableScopes", 11);
pref("extensions.enabledScopes", 4);

Hope this helps!

kind regards, Manuel

On 21.01.2016 16:48, Christoffer de la Motte wrote:
> Hi and thanks for the information.
> 
> If I understand it correctly pref("extensions.autoDisableScopes", 15);
> means every extension is disabled, that would mean
> pref("extensions.autoDisableScopes", 0); should enable all the extensions.
> 
> Combine that with pref("extensions.enableScopes", 15); and it should
> search everywhere for extensions AND enable it.
> 
> I tried using both of these prefs, still the extension is disabled when
> I start firefox.
> 
> Ive tried using only pref("extensions.autoDisableScopes", 15) and
> excluding enableScopes, still disabled.
> 
> Am I misunderstanding something?
> 
> On Thu, Jan 21, 2016 at 2:47 PM, Kaply Consulting <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     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] <mailto:[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] <mailto:[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] <mailto:[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]
>     <mailto:[email protected]> with a subject of "unsubscribe"
> 
> 
> 
> 
> _______________________________________________
> 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"
> 

-- 



[email protected]
Ich bin am am Dienstag, am Donnerstag und am Freitag im Velociped
erreichbar.

Velociped
CH-6010 Kriens
www.velociped.ch

Laden, Velos, Zubehör: Luzernerstrasse 4, Tel. 041 329 10 50

Werkstatt, Ersatzteile, Café: Luzernerstrasse 16, Tel. 041 329 10 40

unsere Öffnungszeiten:
Dienstag bis Freitag: 9 bis 12 und 13.30 bis 18.30
Samstag: 9 bis 16 durchgehend
Montag geschlossen
_______________________________________________
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