This is a JavaScript-only way to fingerprint a user with better than 90% accuracy in as few bytes as possible and no cookie storage, utilizing the ETS FingerprintJS library. The library generates a unique identifier for a user's browser by considering various browser and system properties, including user agent, language, screen resolution, plugins, etc., and employs the MurmurHash3 algorithm for generating the identifier.
<script>
// Initialize the agent at application startup.
import { uid } from 'ets-fingerprintjs'
console.log(uid)
</script>