通过canvas生成一个base64的字符串对于设备、操作系统、浏览器生成的
function uuid() {
const canvas = document.createElement('canvas');
const ctx = canvas.getContext('2d');
const txt = 'test';
ctx.fillText(txt,10,10);
console.log(canvas.toDataURL())
}
标签:10,canvas,const,ctx,指纹,txt,追踪
From: https://www.cnblogs.com/gzeal/p/17357657.html