fix
This commit is contained in:
parent
c60f9d8d9d
commit
380505695e
1 changed files with 1 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ function canvasFingerprint() {
|
|||
ctx.fillStyle = "rgba(102, 204, 0, 0.7)";
|
||||
ctx.fillText(txt, 4, 17);
|
||||
src = canvas.toDataURL();
|
||||
var hash;
|
||||
for (i = 0; i < src.length; i++) {
|
||||
char = src.charCodeAt(i);
|
||||
hash = ((hash<<5)-hash)+char;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue