问题
Is there a way to use HTML 5 to access local system hardware details?
I'm looking specifically for attributes about CPU, RAM, Disk space, Video card information, Browsers available and plug-ins (with verson information).
Ultimately, I am trying to determine if I can build a tool to check a machine for hardware requirements to run software but do so without needing to actually install anything on the machine.
Any help is much appreciated! Thanks!
回答1:
I don't know if HTML5 can help you but javascript can, more information on these websites.
http://ajaxian.com/archives/jpu-javascript-cpu-monitor
http://webreflection.blogspot.in/2007/09/jpu-javascript-cpu-monitor.html
Get CPU/GPU/memory information
Javascript- Dynamically monitor CPU/memory usage
https://groups.google.com/forum/#!topic/alt.msdos.batch.nt/1s8_OJ0WFaY
回答2:
no it's not possible. the browser can't get these informations
the only way for CPU is if you make a benchmark, with a lot of data and the time you can guess the CPU
来源:https://stackoverflow.com/questions/18152328/html-5-local-computer-hardware-specs