Search Support

Beware of phishing attacks: Mozilla will never ask you to call a number or visit a non-Mozilla website. Please ignore such requests.

Learn More

Auto enable extensions after silent installation of Mozilla Firefox

  • 1 odgovor
  • 2 ima ovaj problem
  • 2235 views
  • Posljednji odgovor poslao darvis994

more options

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.

Izabrano rješenje

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)

Pročitajte ovaj odgovor sa objašnjenjem 👍 1

All Replies (1)

more options

Odabrano rješenje

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)