That code is not fullproof for blacklisted drivers across ANY browser.
Ha ha you’re stupid!
If you feel that way about me, great.
Have a nice joyful day.
it looks like this code detects whether or not the client is making webgl2 available, not the presence or amount of hardware acceleration that the client is giving you access to via webgl2.