Reputation: 1191
I just had a FireFox extension approved in the Mozilla Add-On directory, but I can't for the life of me figure out how to allow a user to install the extension from my website.
In other words, I'm trying to prevent directing the user to my extensions listing on the Mozilla Add-On directory and would rather just have them be able to install the extension from my website.
Google Chrome Add-ons allow for this functionality (they call it "inline installation" and it can be read about here: https://developers.google.com/chrome/web-store/docs/inline_installation)
Is this kind of functionality possible with FireFox Add-Ons that are listed & approved in the Mozilla Add-On Directory?
Upvotes: 4
Views: 3394
Reputation: 3907
You can put link to this extension on your site with information, that user should/have to install it.
<a href="http://www.somepage.com/addons/yourAddon.xpi">You need plugin</a>
If you don't have something like that in your web.config:
<staticContent>
<remove fileExtension=".xpi" />
<mimeMap fileExtension=".xpi" mimeType="application/x-xpinstall" />
</staticContent>
firefox will download addon instead of install.
Upvotes: 1