aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.js
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/client.js')
-rw-r--r--webAO/client.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/webAO/client.js b/webAO/client.js
index dc4aca5..ee6bad7 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -54,12 +54,13 @@ const fp = new Fingerprint({
/** An emulated, semi-unique HDID that is generally safe for HDID bans. */
const cookieid = getCookie("fingerprint");
let hdid;
-if (cookieid) {
- hdid = cookieid;
-} else {
+
+
+
+
hdid = fp.get();
setCookie("fingerprint",hdid);
-}
+
console.log(`Your emulated HDID is ${hdid}`);
let lastICMessageTime = new Date(0);