搜尋 Mozilla 技術支援網站

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

了解更多

How to install add-ons from URL?

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 yandreja

more options

I try to install add-on for Firefox through Windows Registry entry. In this article: "https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Distribution_options/Add-ons_in_the_enterprise" - described that I should specify the location of the xpi-file. For exemple, instal "uBlock Origin" by CMD script:

reg add HKLM\SOFTWARE\Mozilla\Firefox\Extensions /v [email protected] /d D:\Download\ublock_origin-1.18.6-an+fx.xpi

If I want instal add-on from URL? I try do this by CMD script:

reg add HKLM\SOFTWARE\Mozilla\Firefox\Extensions /v [email protected] /d https://addons.mozilla.org/firefox/downloads/file/1709472/ublock_origin-1.18.6-an+fx.xpi

But, nothing work! Is it possible to install add-on by downloading xpi-file from URL (AMO domain)?

I try to install add-on for Firefox through Windows Registry entry. In this article: "https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Distribution_options/Add-ons_in_the_enterprise" - described that I should specify the location of the xpi-file. For exemple, instal "uBlock Origin" by CMD script: reg add HKLM\SOFTWARE\Mozilla\Firefox\Extensions /v [email protected] /d D:\Download\ublock_origin-1.18.6-an+fx.xpi If I want instal add-on from URL? I try do this by CMD script: reg add HKLM\SOFTWARE\Mozilla\Firefox\Extensions /v [email protected] /d https://addons.mozilla.org/firefox/downloads/file/1709472/ublock_origin-1.18.6-an+fx.xpi But, nothing work! Is it possible to install add-on by downloading xpi-file from URL (AMO domain)?

所有回覆 (2)

more options

That seems like it would be a very dangerous feature to support. I think the key needs to point to an existing local file.

Related discussion: https://discourse.mozilla.org/t/add-on-policy/35083

more options

jscher2000 said

That seems like it would be a very dangerous feature to support. I think the key needs to point to an existing local file.

In Google Chrome, this does not mean dangerous!