Open thanhlouis opened 11 months ago
funcjs['getGpu'] = function() { var text = ''; var canvas = document.createElement("canvas"); var gl = canvas.getContext("experimental-webgl") || canvas.getContext("webgl"); var ext = gl.getExtension("WEBGL_debug_renderer_info"); if (gl && ext) { text = gl.getParameter(ext.UNMASKED_VENDOR_WEBGL) + '~' + gl.getParameter(ext.UNMASKED_RENDERER_WEBGL); } return text; }
An website use this for check multi account, can you make an feature to change name of gpu ?
Hi @thanhlouis,
This is something that has been requested a few times. I will likely add support for this in v0.30.0.
funcjs['getGpu'] = function() { var text = ''; var canvas = document.createElement("canvas"); var gl = canvas.getContext("experimental-webgl") || canvas.getContext("webgl"); var ext = gl.getExtension("WEBGL_debug_renderer_info"); if (gl && ext) { text = gl.getParameter(ext.UNMASKED_VENDOR_WEBGL) + '~' + gl.getParameter(ext.UNMASKED_RENDERER_WEBGL); } return text; }
An website use this for check multi account, can you make an feature to change name of gpu ?