Fail gracefully for fingerprint
This commit is contained in:
parent
5740f33b7d
commit
2d3e474725
@ -41,11 +41,16 @@
|
|||||||
// String.prototype.join confuses fingerprintjs2
|
// String.prototype.join confuses fingerprintjs2
|
||||||
var strjoin = String.prototype.join;
|
var strjoin = String.prototype.join;
|
||||||
String.prototype.join = undefined;
|
String.prototype.join = undefined;
|
||||||
new Fingerprint2().get(function(result, components) {
|
try {
|
||||||
String.prototype.join = strjoin;
|
new Fingerprint2().get(function(result, components) {
|
||||||
booth.fingerprint = components;
|
String.prototype.join = strjoin;
|
||||||
|
booth.fingerprint = components;
|
||||||
|
nextTemplate();
|
||||||
|
});
|
||||||
|
} catch (ex) {
|
||||||
|
console.error(ex);
|
||||||
nextTemplate();
|
nextTemplate();
|
||||||
});
|
}
|
||||||
} else {
|
} else {
|
||||||
nextTemplate();
|
nextTemplate();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user