JavaScript Unique Browser Id

Ozzy picture Ozzy · Feb 8, 2011 · Viewed 66.3k times · Source

is there anyway to create a unique ID for a browser within javascript?

Im not talking about an ID that is random everytime it is generated but an ID that is unique to the browser it is generated in but also takes into account the computer its running on.

Example:

Windows 7 Chrome might generate: asdh128hakj4gh

Windows 7 Opera might generate: 23hjad823hjakk

Windows 7 Chrome, diff hardware, might generate: asd238881jaal

etc...

Is there anyway to do this?

Answer

Makubex picture Makubex · Dec 24, 2015

What you are looking for is called Browser Fingerprinting.

You can google for some open source libraries. Ex: fingerprintjs2

Check out EFF's demo