Unify a ChromeOS device in a Chrome app

I need to find a way to uniquely identify each device (ChromeBook / ChromeBox) using the Chrome application, I looked at the Chrome application and also in the documents to create my own plugin using api pepper .

But I see no way to identify the device in any, just the user (which is not enough for my use).

Can this be done? How can I achieve this?

+6
source share
1 answer

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

-2
source

All Articles