import { useState } from 'react'; import ScanBlock from './ScanBlock'; import Table from './Table'; import { getHardware, getWebGL, getSoftware, getFingerprint, getHash, getName, handleSave, } from './mainOld'; const FingerprintBlock = () => { const [name, setName] = useState(''); const [load, setLoad] = useState(false); const [saved, setSaved] = useState(''); const hash = getHash([...getHardware(), ...getWebGL(), ...getSoftware()]); getName(hash, setName, setLoad); return (

Fingerprint

{load && ( <> {name ? ( ) : (
{hash}
)} )}

Explanation: This is a unique identifier that can be used to follow you around the web. Even if you clear cookies, change your IP or use private mode the hash will stay the same. Enter your name below and reload the page in private mode to test it out.

{saved ? (

Success! Re-scan browser.

) : ( { handleSave(e, hash, setSaved); }} > )} ); }; export default FingerprintBlock;