|
|
|
|
|
by gruez
1894 days ago
|
|
Don't bother. It's hard to do it correctly. If you look through the snippets (or the MDN docs[1]), the value is retrieved using the getParameter() function. You might be tempted to override the function by doing something like gl.getParameter = () => "test"
but that's easily detectable. If you run gl.getParameter.toString()
You get back "() => "test""
whereas the original function you get back "function getParameter() { [native code] }"
In general, don't try to fix fingerprinting via content scripts[2]. It's very much detectable. Your best bet is a browser that handles it natively.[1] https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_debug... [2] https://palant.info/2020/12/10/how-anti-fingerprinting-exten... |
|