I've created a custom protocol handler in JavaScript (Mozilla 1.9 code):
http://pastebin.mozilla.org/559875
This protocol handler is mostly working fine, except that it seems to
block until all the data is read before displaying the contents or
before offering the save as dialog (in the case of an unknown file
extension).
For example, when the url is:
jssimple://foo/bar.bin
the protocol will take 5 seconds to download, then the offer to download
is shown (after all the data was received).
How can I make it so the download starts straight away (asynchronously)
and the download progress shown through the download manager?
Thanks,
Todd
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network