News for hackers. Stuff that matters.
Re:Are top websites using WebGL for fingerprinting? by gruez on Saturday April 17, 2021 @02:54PM (#26846515)

    -> gl.getParameter.toString.toString()
    <- "() => 'function getParameter() { [native code] }'"
Not to mention the iframe trick mentioned in palant's article.
Re:Are top websites using WebGL for fingerprinting? by rasz on Saturday April 17, 2021 @03:00PM (#26846558)
is that Firefox? in Chrome I get

    gl.getParameter.toString() = () => 'function getParameter() { [native code] }'
    gl.getParameter.toString()
    "function getParameter() { [native code] }"
    gl.getParameter.toString().toString()
    "function getParameter() { [native code] }"
    gl.getParameter.toString().toString().toString()
    "function getParameter() { [native code] }"
iframes, worker, sharedworker, serviceWorker are all covered. Good luck timing the difference.
Re:Are top websites using WebGL for fingerprinting? by deathanatos on Saturday April 17, 2021 @03:06PM (#26846613)
You're running

  gl.getParameter.toString().toString()
what the comment you're replying to is trying to tell you to run is:

  gl.getParameter.toString.toString()
Call toString on the toString fuction, not on its result.
Re:Are top websites using WebGL for fingerprinting? by rasz on Saturday April 17, 2021 @04:20PM (#26847120)