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)?
Tất cả các câu trả lời (2)
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
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!