<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();
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.