aborted
aborted

Reputation: 4541

Anchor for Firefox extensions?

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?

Upvotes: 1

Views: 133

Answers (1)

Wladimir Palant
Wladimir Palant

Reputation: 57651

You can use the InstallTrigger object. Also, you should be using application/x-xpinstall MIME type for your extension file, this will trigger installation even if InstallTrigger isn't used (e.g. JavaScript disabled).

Upvotes: 5

Related Questions