How to find active downloads currently in javascript?


Is there a way to find currently active http connections in a page? For example, a video that is currently being played (either html5 video or flash), large objects or even websocket connections?

In this StackOverflow question, you will see that google chrome does not support to access its download page.

But I found this firefox API that supports to access its download manager window. There you will see methods like, getAllDownloads() and getDownloadState(). You can call these methods using Javascript and get the job done.

Is it clear enough?