Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Issue Policy ExtensionSettings - Lang pack

  • 3 回覆
  • 0 有這個問題
  • 4 次檢視
  • 最近回覆由 Mike Kaply

more options

Hello,

I'm trying to deploy Firefox with several languages.

I followed the guide on [https://support.mozilla.org/en-US/kb/deploying-firefox-language-packs].

Everything work fine until I set up ExtensionSettings policy. This policy hide and block languages menu.

After scratching my head for a while, I finally figured out how to do it. I would to like to know if an easier way to whitelist all locales and dictionaries. I would like to only control the extensions.

<enabled/> <data id="ExtensionSettings" value=' {

 "*": {
   "blocked_install_message": "Blocked by your administrator.",
   "installation_mode": "blocked",
   "allowed_types": ["extensions", "dictionary", "locale"]
 },
 "uBlock0@raymondhill.net": {
   "installation_mode": "force_installed",
   "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"
 },

"qwantcomforfirefox@jetpack": {

   "installation_mode": "force_installed",
   "install_url": "https://addons.mozilla.org/firefox/downloads/file/3658805/latest.xpi"

}, "langpack-en-CA@firefox.mozilla.org": {

 "installation_mode": "allowed"

}, "langpack-en-GB@firefox.mozilla.org": {

 "installation_mode": "allowed"

}, "langpack-en-US@firefox.mozilla.org": {

 "installation_mode": "allowed"

}, "langpack-es-AR@firefox.mozilla.org": {

 "installation_mode": "allowed"

}, "langpack-es-CL@firefox.mozilla.org": {

 "installation_mode": "allowed"

}, "langpack-es-ES@firefox.mozilla.org": {

 "installation_mode": "allowed"

}, "langpack-es-MX@firefox.mozilla.org": {

 "installation_mode": "allowed"

}, "langpack-fr@firefox.mozilla.org": {

 "installation_mode": "allowed"

}, "langpack-pt-BR@firefox.mozilla.org": {

 "installation_mode": "allowed"

}, "langpack-pt-PT@firefox.mozilla.org": {

 "installation_mode": "allowed"

} }'/>

Thank you

Hello, I'm trying to deploy Firefox with several languages. I followed the guide on [[https://support.mozilla.org/en-US/kb/deploying-firefox-language-packs]]. Everything work fine until I set up ExtensionSettings policy. This policy hide and block languages menu. After scratching my head for a while, I finally figured out how to do it. I would to like to know if an easier way to whitelist all locales and dictionaries. I would like to only control the extensions. <enabled/> <data id="ExtensionSettings" value=' { "*": { "blocked_install_message": "Blocked by your administrator.", "installation_mode": "blocked", "allowed_types": ["extensions", "dictionary", "locale"] }, "uBlock0@raymondhill.net": { "installation_mode": "force_installed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi" }, "qwantcomforfirefox@jetpack": { "installation_mode": "force_installed", "install_url": "https://addons.mozilla.org/firefox/downloads/file/3658805/latest.xpi" }, "langpack-en-CA@firefox.mozilla.org": { "installation_mode": "allowed" }, "langpack-en-GB@firefox.mozilla.org": { "installation_mode": "allowed" }, "langpack-en-US@firefox.mozilla.org": { "installation_mode": "allowed" }, "langpack-es-AR@firefox.mozilla.org": { "installation_mode": "allowed" }, "langpack-es-CL@firefox.mozilla.org": { "installation_mode": "allowed" }, "langpack-es-ES@firefox.mozilla.org": { "installation_mode": "allowed" }, "langpack-es-MX@firefox.mozilla.org": { "installation_mode": "allowed" }, "langpack-fr@firefox.mozilla.org": { "installation_mode": "allowed" }, "langpack-pt-BR@firefox.mozilla.org": { "installation_mode": "allowed" }, "langpack-pt-PT@firefox.mozilla.org": { "installation_mode": "allowed" } }'/> Thank you

被選擇的解決方法

If you remove

"installation_mode": "blocked",

and just set

"allowed_types": ["dictionary", "locale"]

And only specify ublock and qwant, I think you'll get what you want.

All dictionaries and locales are allowed and only the extensions you specify.

從原來的回覆中察看解決方案 👍 1

所有回覆 (3)

more options

選擇的解決方法

If you remove

"installation_mode": "blocked",

and just set

"allowed_types": ["dictionary", "locale"]

And only specify ublock and qwant, I think you'll get what you want.

All dictionaries and locales are allowed and only the extensions you specify.

more options

That's great!

Thank you Mike, I followed too much the example and misunderstood the documentation about installation_mode and allowed_types.

Cheers

more options

> I followed too much the example and misunderstood the documentation about installation_mode and allowed_types.

I think my examples have too much stuff in them :).