I'm building a simple html5 app to monitor the total network traffic that's incoming and outgoing. Is it possible to know your bandwidth usage using js?
A:
You could use some of the code in Firebug to do this. Firebug has a "Net" tab that monitors downloads and uploads.
Delan Azabani
2010-08-18 03:38:23
This isn’t going to work unless the code is running inside a Firefox extension. Even then, it’ll be necessary to write some C++ code since there’s no API in Firefox for determining overall system resource usage.
Daniel Cassidy
2010-08-18 04:01:59
+2
A:
Not for the whole system -- at least not without some sort of client-side addon installed.
CD Sanchez
2010-08-18 03:40:42