Can I detect cpu type and speed, and/or amount of ram a computer has from a web page (javascript hopefully)?
views:
84answers:
5No, that's not possible. There is no access to hardware information through JavaScript in web browsers. You might have some luck using browser plugins, ActiveX, etc.
This info isn't available, at least not in a consistent or reliable way using only JavaScript...flash may be an option, but there are many security restrictions around that too, so I'm not sure what's available to it.
Nope, that's not possible. Unless you're going to ask the user, programmatically.
The only thing with any knowledge of the system on which it's running is the Operating System. The Operating System creates an abstraction layer in which every application runs. Applications can't know what processor you have or how much RAM you have without asking the Operating System. No modern browser will ask.
The Java Virtual Machine does ask the Operating System, so you could do it with a Java applet.
Otherwise you'd need a browser plugin.
In IE you can detect the cpuClass. It doesn't tell you much, but maybe there is any use for you.
http://msdn.microsoft.com/en-us/library/ms533697%28v=VS.85%29.aspx