We are looking to take over a list of content types over ftp and http.
Obviously we want to leave Mozilla alone when its loading .html
content types, but capture .exe's, .zip's or whatever else they might
download.
The default list of mime types for gozilla to capture is
application/octet-stream
application/exe
application/x-exe
application/x-unknown-type
application/unknown-type
application/unknown
application/self-extracting
application/zip
application/x-zip-compressed
application/x-compressed
application/x-compress
application/x-msdownload
application/x-gzip
application/x-gtar
application/x-tar
application/x-rar
application/x-ccf-content
application/x-dmp
application/mac-binhex40
audio/mpeg
audio/x-mpeg
application/x-msdos-program
This list is user modifyable, but only an advanced user will have any
interest in changing it. If somehow a mime type is unavailable or
doesn't match the type list,we check the file extension for one of the
following:
EXE ZIP DMP CCF RAR Z GZ GZIP TAR MP3 MPG MPEG AVI MOV ARJ LZH BIN SIT
HQX
We only look in the http and ftp schemes.
-Tommy
On Mon, 05 Feb 2001 21:43:09 -0800, "Scott MacGregor (News)"
<[EMAIL PROTECTED]> wrote:
>What part of the process are you trying to take over?
>
>1) a particular type of url? (i.e. all "http" urls)
>2) a particular content type? (i.e. all "application/pdf" files")
>
>-Scott
>
>Tommy Barnes wrote:
>
>> I was wondering if there was a way to have 3rd party software take
>> over a download from Mozilla. I am working on the development of
>> Gozilla 4.0 and cant find a good place to have our software take over
>> file downloading from the mozilla network code. Ive taken a look at
>> the plug-in interface, nsOSHelprAppService, nsExternalHelper app
>> service, as well as the protocol handlers and many other files but
>> still cant find anything that allow Gozilla to recieve control of a
>> particular URL before it has been downloaded to a temp file. Gozilla's
>> 4 million active users were a little upset when we didnt't have suport
>> for netscape 6 so we are going to try to fix that. Any help would be
>> greatly appreciated. Thanks
>