Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Getting the mime type from a URL

27 views
Skip to first unread message

gabrie...@gmail.com

unread,
Oct 16, 2006, 2:19:39 PM10/16/06
to
Hello!

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

Kumar P

unread,
Dec 13, 2006, 2:10:00 AM12/13/06
to
Hello,
Can you tell me how are you catching those URLs from the
Firefox address bar? Can we also get the time interval for which that
particular URL was open during browsing?

Please help me out.
Thanks

0 new messages