I want to achieve this :
- host an addon on my own website
- when user clicks a specific button on my site , addon should install automatically just like it does from Mozilla AMO
I want to achieve this :
You should make sure that your web server serves the XPI file with application/x-xpinstall
MIME type - then you can simply link to it and Firefox will offer to install it. To make this more fancy you can use InstallTrigger
- this lets you specify things like the name or the icon of the add-on. The user will always have to allow installation request first before he sees the installation window - this request isn't displayed only for web sites on the whitelist meaning AMO pretty much for all users.