I have a Firefox addon available for my website. I add the download link of the addon to a simple , but when an user click it, it prompts him to download the .XPI file of the addon – Is there any way so I can pop-up the normal EXTENSION INSTALL window for my addon? Is there any special thing to do that or this is available only in addons.mozilla.org?
Share
You can use the InstallTrigger object. Also, you should be using
application/x-xpinstallMIME type for your extension file, this will trigger installation even ifInstallTriggerisn’t used (e.g. JavaScript disabled).