Vance Smith Vance Smith - 24 days ago 9
Javascript Question

Can I detect cpu type and speed, and/or amount of ram a computer has from a web page (javascript hopefully)?

Can I detect cpu type and speed, and/or amount of ram a computer has from a web page (javascript hopefully)?

Answer

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.

Comments