<span> 浏览器指纹: </span>
<span id='fingerprintText'>正在获取中</span>
import FingerprintJS from "https://esm.sh/@fingerprintjs/fingerprintjs";

async function getFingerPrintID() {
  const fpPromise = FingerprintJS.load();
  const fp = await fpPromise;
  const result = await fp.get();
  return result.visitorId;
}

document.querySelector("#fingerprintText").innerHTML = await getFingerPrintID();

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.