
Auto enable extensions after silent installation of Mozilla Firefox
Hello,
I'm trying to customize Mozilla ESR Firefox configuration for silent deployment. I need include some language packs and implement automatically changing UI language depending on OS language.
I have copied needful .xpi languages packs to unziped_installer\core\browser\extensions\. It installs with Firefox and visible on tab "Languages" in "about:addons".
Also, I have found parameter, which can change UI language - "intl.locale.requested". Everything works fine, but I have one problem: Installed extensions is disabled after installation.
Also, environment can exist Mozilla Firefox profiles in appdata, which I should not remove.
Could you please advise me how I can enable these extensions after installation or first user runing with help config/preferences or maybe there is some other solution?
Thanks in advance.
Ausgewählte Lösung
I found solution: For enable extensions after installation use propertie: lockPref("extensions.autoDisableScopes", 0);
For automaticaly change UI language to OS language use: pref("intl.locale.requested", "");
(intl.locale.matchOS has been removed and "intl.locale.requested", "" means intl.locale.matchOS = true https://groups.google.com/forum/#!topic/firefox-dev/_qtfIyuXmYU)
Diese Antwort im Kontext lesen 👍 1Alle Antworten (1)
Ausgewählte Lösung
I found solution: For enable extensions after installation use propertie: lockPref("extensions.autoDisableScopes", 0);
For automaticaly change UI language to OS language use: pref("intl.locale.requested", "");
(intl.locale.matchOS has been removed and "intl.locale.requested", "" means intl.locale.matchOS = true https://groups.google.com/forum/#!topic/firefox-dev/_qtfIyuXmYU)