I have added a Firefox extension here:
https://addons.mozilla.org/en-GB/firefo ... y-checkout
and want to add a link to my website so that my users can install it directly without going to the "Firefox Add-ons" store.
I can see how I can just do :
Code: Select all
$('#InstallButton').click(function(event) {
document.location.href = 'https://addons.mozilla.org/firefox/downloads/file/834794/the_lucky_checkout_shopping_tool-1.6.1-an+fx-windows.xpi';
event.preventDefault();
return false;
});
Thanks,
Martin