m3nt0r wrote:
I am about to create an extension that should intercept filedownloads if the the file extension matches my pattern (i.e. JPG).
Does it have to be the file extension, or does the MIME type suffice? In the latter case, you could implement nsIURIContentListener.
(Actually, in the former case, you could implement nsIContentSniffer and change the MIME type if the URL matches whatever you want)
-- All the world's a stage, And all the men and women merely players: They have their exits and their entrances; And one man in his time plays many parts, [...] --W. Shakespeare _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
