X
點擊此處開啟此網站的行動版。

技術支援討論區

How to install add-ons from URL?

已張貼

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 uBlock0@raymondhill.net /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 uBlock0@raymondhill.net /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 uBlock0@raymondhill.net /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 uBlock0@raymondhill.net /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)?
引用

額外的系統細節

應用程式

  • User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36

更多資訊

jscher2000
  • Top 10 Contributor
8430 個解決方法 68766 個答案

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

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
這篇文章有幫助嗎? 0
引用

提出問題者

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!

''jscher2000 [[#answer-1208194|said]]'' <blockquote> That seems like it would be a very dangerous feature to support. I think the key needs to point to an existing local file. </blockquote> In Google Chrome, this does not mean dangerous!
這篇文章有幫助嗎?
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題