Reputation: 21
Hi i have this firefox addon i would like it to automatically popup with download when a user loads the page.
Upvotes: 0
Views: 428
Reputation: 17010
Can't you just redirect the user using javascript to the .xpi
file?
At the end of your page, just before the </body>
tag, put this:
<script type="text/javascript">
window.location.href = 'path/to/your.xpi';
</script>
Upvotes: 1