> ... Checks if devtools is open ... Detects installed text to speech voices
... Detects if some Chrome extensions are installed ...
No web code should be given technical means to do such things in the first place. A big part of the problem is browsers are too liberal in exposing various unreasonable APIs.