I am about to create an extension that should intercept filedownloads
if the the file extension matches my pattern (i.e. JPG).

I am not sure which Component to query for this information. I've read
about nsIDownloadManager, but then i thought that even if i know the
file-extension and know that DOWNLOAD_FINISHED, firefox will probably
open the file with the associated software anyways.. (if configured).

1. How can i drop any associations to my filetype (if exists)?
2. Which component/method do i need to query to get the status of the
download and the local path?

Any hints are welcome.. doclinks, threads.. i don't know where to
start.

Thanks in advance!
- m3nt0r

_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to