device how i can do this?
will it works? let navigatorInfo = window.navigator let screenInfo = window.screen let uid = navigatorInfo.mimeTypes.length uid += navigatorInfo.userAgent.replace(/\D+/g, '') uid += navigatorInfo.plugins.length uid += screenInfo.height || '' uid += screenInfo.width || '' uid += screenInfo.pixelDepth || '' console.log(uid);
There's no guarantee this will be unique
What you have attempted here is similar to browser fingerprinting
Обсуждают сегодня