Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Problem with ExtensionSettings

  • 1 svar
  • 0 har dette problemet
  • 1 view
  • Siste svar av 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.

Valgt løsning

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.

Les dette svaret i sammenhengen 👍 1

All Replies (1)

more options

Valgt løsning

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.