I want to write an extension that prevents firefox from downloading
certain mime-types. Thus, I have to get a peek on the mime type of the
URL that is to be loaded. I know where to integrate my script in the
existing JavaScript/XUL, but I wonder which components to use to
(partially) download the data the URL points to. Can anyone give me
some suggestions on which Mozilla objects to use and how to combine
them? I am fairly new to writing extensions and the API is a bit
overwhelming.
Thanks,
Gabriel
Please help me out.
Thanks