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

Problem with ExtensionSettings

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

more options

Hello I have installed german Firefox Version 117.0 (Build-ID 20230824132758) on Windows 10.

The following ExtensionSettings policy works as expected. The addons ublock and TreeTabs are both installed automatically.


{

 "*": {
   "blocked_install_message": "My Message",
   "install_sources": ["https://addons.mozilla.org/"],
   "installation_mode": "blocked",
   "allowed_types": ["locale", "extension"]
 },
 "uBlock0@raymondhill.net": {
   "installation_mode": "force_installed",
   "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi",
   "default_area": "navbar"
 },
 "TreeTabs@jagiello.it": {
   "installation_mode": "force_installed",
   "install_url": "https://addons.mozilla.org/firefox/downloads/latest/tree-tabs/latest.xpi"
 }

}


But I don't want TreeTabs to be installed automatically on all workstations. So I want to change installation_mode to allowed.


{

 "*": {
   "blocked_install_message": "My Message",
   "install_sources": ["https://addons.mozilla.org/"],
   "installation_mode": "blocked",
   "allowed_types": ["locale", "extension"]
 },
 "uBlock0@raymondhill.net": {
   "installation_mode": "force_installed",
   "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi",
   "default_area": "navbar"
 },
 "TreeTabs@jagiello.it": {
   "installation_mode": "allowed",
   "install_url": "https://addons.mozilla.org/firefox/downloads/latest/tree-tabs/latest.xpi"
 }

}


But with this setting I'm unable to install it manually from https://addons.mozilla.org/de/firefox/addon/tree-tabs/ The message "An unexpected error occurred during installation." and a popup with the "blocked_install_message" "My Message" is displayed.

The same error occurs without the line (and the comma) "install_url": "https://addons.mozilla.org/firefox/downloads/latest/tree-tabs/latest.xpi"

I don't know why this does not work. Please help. Thank you.

Hello I have installed german Firefox Version 117.0 (Build-ID 20230824132758) on Windows 10. The following ExtensionSettings policy works as expected. The addons ublock and TreeTabs are both installed automatically. --------------- { "*": { "blocked_install_message": "My Message", "install_sources": ["https://addons.mozilla.org/"], "installation_mode": "blocked", "allowed_types": ["locale", "extension"] }, "uBlock0@raymondhill.net": { "installation_mode": "force_installed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi", "default_area": "navbar" }, "TreeTabs@jagiello.it": { "installation_mode": "force_installed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/tree-tabs/latest.xpi" } } --------------- But I don't want '''TreeTabs''' to be installed automatically on all workstations. So I want to change installation_mode to allowed. --------------- { "*": { "blocked_install_message": "My Message", "install_sources": ["https://addons.mozilla.org/"], "installation_mode": "blocked", "allowed_types": ["locale", "extension"] }, "uBlock0@raymondhill.net": { "installation_mode": "force_installed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi", "default_area": "navbar" }, "TreeTabs@jagiello.it": { "installation_mode": "allowed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/tree-tabs/latest.xpi" } } --------------- But with this setting I'm unable to install it manually from [https://addons.mozilla.org/de/firefox/addon/tree-tabs/ https://addons.mozilla.org/de/firefox/addon/tree-tabs/] The message "An unexpected error occurred during installation." and a popup with the "blocked_install_message" "My Message" is displayed. '''The same error occurs without the line (and the comma)''' "install_url": "https://addons.mozilla.org/firefox/downloads/latest/tree-tabs/latest.xpi" I don't know why this does not work. Please help. Thank you.

被選擇的解決方法

Try this: {

     "*": {
       "blocked_install_message": "My Message",
       "installation_mode": "blocked"
     },
     "uBlock0@raymondhill.net": {
       "installation_mode": "force_installed",
       "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi",
       "default_area": "navbar"
     },
     "TreeTabs@jagiello.it": {
       "installation_mode": "allowed"
     }
    }

It worked for me.

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

所有回覆 (1)

more options

選擇的解決方法

Try this: {

     "*": {
       "blocked_install_message": "My Message",
       "installation_mode": "blocked"
     },
     "uBlock0@raymondhill.net": {
       "installation_mode": "force_installed",
       "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi",
       "default_area": "navbar"
     },
     "TreeTabs@jagiello.it": {
       "installation_mode": "allowed"
     }
    }

It worked for me.