Remove window as an alias of global in the serverside v8 runtime

the fact window is an alias of global makes it impossible for anyone to use certain modules, that check wether the code is run on a browser or not by checking if window exists, which it shouldn’t on a normal node.js instance, while it does on FiveM. it’d be pretty awesome if this could be removed and all the references to window could be changed to global instead. As i said this is beneficial in many ways, including the fact all the modules that can run on normal nodejs will now be able to run on FXServer’s node as well.

Not going to happen. Tell module authors to check process.versions.node instead, checking window is just incorrect.

This has been discussed multiple times, and due to compatibility (since resources might be using window as well), this can’t be removed.