I have a web extension for Chrome and want to publish it for Firefox.
In Chrome web store there is an option to put the extension in the store as not listed, and install it by clicking a link on my web application: <a href="javascript:void(0);" onclick="chrome.webstore.install(undefined, success, failure)"> install </a>
Is there a similar option for Firefox?
I searched the documentation online and found: InstallTrigger.install(xpi);
But the documentation says this option is not standard and should not be used on production.
If I place a link to the XPI file (already signed by AMO) on my web site, I get a message when I try to install it: “Firefox prevented this site from asking you to install software on your computer”.
I don’t want my users to get this message.
I am in the same situation myself. I don’t know whether it should or not be used, all I can say is that it works. The pain is just that you need it to add it to the both 32-bit and 64-bit parts of the Windows registry for it to work with 64-bit Firefox under 64-bit Windows and vice versa.
When Firefox is re-started after making those registry entries, Firefox asks the user if he wants to enable the new addon (user has to tick a box and click accept).
Hi,
Thank you for your reply.
The documentation in the archive of obsolete content says that all content in this documentation should be used for legacy purposes, and not for developing for latest versions of Firefox. Therefore, I’m searching for another option.
You need to submit the addon to AMO as a none public add-on in need of approval and signing. Once approved you may host the signed add-on and ordinary users of Firefix Release can add it in the normal way.
Firefox, there’s an option called “Unlisted Add-on”. You send your add-on to an automatic verification (much easier than the regular one), then you can host the XPI file on your server & post a simple link.
The issue: The user gets a warning “Firefox prevented this file from being downloaded into your computer”, because the downloading is being performed from a non Mozilla server.