1; 2 3var fingerprintID = ''; 4 5if (window.requestIdleCallback) { 6 requestIdleCallback(function () { 7 Fingerprint2.get(function (components) { 8 processFingerprint(components); 9 }) 10 }) 11} else { 12 setTimeout(function () { 13 Fingerprint2.get(function (components) { 14 processFingerprint(components); 15 }) 16 }, 500) 17} 18 19function processFingerprint (components) { 20 const values = components.map(component => component.value); 21 const murmur = Fingerprint2.x64hash128(values.join(''), 31); 22 23 fingerprintID = murmur; 24 25 var cookieValue = $.cookie('fingerprint'); 26 if ( cookieValue != fingerprintID ) { 27 setFingerprintIDCookie(fingerprintID); 28 } 29} 30 31function setFingerprintIDCookie ($fingerprint) { 32 $.cookie('fingerprint', fingerprintID, { expires: 7, path: '/', domain: window.location.hostname }); 33}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.