JSFiddle - React, Tailwind, and code Playground

by remguif

HTML

<script src="https://cdn.jsdelivr.net/fingerprintjs2/1.0.0-rc1/fingerprint2.min.js"></script>

JavaScript

new Fingerprint2(
{swfPath: '/assets/FontList.swf', excludeUserAgent: true}
).get(function(result, components){
  // this will use all available fingerprinting sources
  console.log(result);
  // components is an array of all fingerprinting components used
  console.log(components);
});