[Project_owners] forcing different Content-type for downloads

Didier Ernotte didier at ernotte.com
Thu Dec 30 06:42:20 EST 2004


Hi,

The A html tag support the "type" attribute (see
http://www.w3.org/TR/REC-html40/struct/links.html#adef-type-A). This
type is the content-type of the link, but I don't know if this
attribute is supported in FF.

Didier
 
--- Simon Wunderlin <simon at wunderlin.net> wrote:

> Hi all,
> 
> i am preparing an extension for N|Vu. it is most likely that users
> will
> download the xpi with moz/FF and get prompted for install when they
> click the link (the extesion won't work in the browser).
> 
> is it possible to force another Content-type for downloads with an
> xpi
> extension (for example application/octetstream or
> application/unknown)
> so that the user will get a "save as ..." dialog rather than an
> install
> dialog ?
> 
> Thanks in advance and regards,
> -- 
> Simon
> 
> PS: i know how to change the Content-type for files in the www dir,
> this
> is not what i am looking for (would like to do this for files in the
> download dir).
> 
> PPS: no i don't like fries ... i'd just want a coke with it if that's
> ok?
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
> 



	
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail


More information about the Project_owners mailing list