Miscellany
public text v1 · immutablefunction getFingerprint(){
return JSON.stringify([
navigator.appName,
navigator.appVersion,
navigator.userLanguage,
navigator.userAgent,
screen.width,
screen.height,
screen.colorDepth,
((new Date()).getTimezoneOffset()),
(function(){
var a=[]; // maybe better with a simple navigator.plugins.map ? Well this works...
for(var i = 0; i < navigator.plugins.length; i++){
a.push(navigator.plugins[i].name);
}
return a;
})(),
ip,
httpaccept,
1
]);
}