[Project_owners] Download link for Thunderbird add-on

Onno Ekker o.e.ekker at gmail.com
Thu Oct 1 11:53:39 PDT 2009


On 22-9-2009 22:30, Joachim Herb wrote:
> Hello,
>
> I have published two add-ons for Thunderbird. If you click on a link
> pointing to the download address in Firefox, it tries to install the
> add-on. How can I avoid this? It would be much better if the usual
> download dialog opens.
>
> Example: http://compactheader.mozdev.org/installation.html pointing to
> http://downloads.mozdev.org/compactheader/CompactHeader-0.7.3.xpi
>

I do this for my downloads by linking to a small php script that adds a
header: content-disposition: attachment.
You can see the script here:
http://www.mozdev.org/source/browse/forward/www/download.php

Onno


More information about the Project_owners mailing list