I want to get hardware details of a mobile device using Jquery or Javascript. Please tell me is there a script or a way to to achieve device information via this or any extension that helps this way. Thank you.
Asked
Active
Viewed 2,934 times
0
-
Which particular HW details are you interested in? WebGL capabilities? RAM? CPU? – Sga Nov 05 '15 at 10:36
-
RAM and CPU particularly I want. – Passionate Programmer Nov 05 '15 at 10:47
-
Don't think that's possible. You may be able to get the number of CPU cores using [this](https://github.com/oftn/core-estimator) – Sga Nov 05 '15 at 11:26
1 Answers
0
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) { // some code.. }
or
$.browser.device = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
Check below links.

Community
- 1
- 1

Paresh Thakor
- 1,795
- 2
- 27
- 47