how to get the name of the currently connected device to computer?
<p>When I connect my phone to the computer and visit Google play store in google chrome, it seams like the page knows that the device is connected, like this picture:</p>

<p><img src="http://i.stack.imgur.com/G4AHA.png" alt="DeviceName"></p>

<p>How can I do it using JavaScript?</p>
