Is there a way to distinguish a real mobile device from a device emulated by Google Chrome?
Please note that Google Chrome can emulate Useragent, touchscreen, screen resolution and accelerometer.
It is possible to check for navigator.plugins.length.
Mobile browsers have no plugins, so navigator.plugins.length is equal to 0;
Desktop browsers ordinary have plugins, so we can distinguish browsers by length of plugins array.