为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.