How to uniqely identify ChromeOS device in Chrome App

300 Views Asked by At

I need to find a way of uniquely identifying each device (ChromeBook / ChromeBox) using a Chrome App, I have taken a look through the Chrome App docs and also at the docs for creating a native plugin using the pepper api.

But I can't see the ability to identify a device in either, just a user (which isn't sufficient for my use).

Can this be done? How can I achive this?

1

There are 1 best solutions below

0
On

Have you tried using navigator.userAgent in your JavaScript? as different devices/OS tend to use some dedicate keywords in the UserAgent string to identify themselves on the Internet.