

Most of those things cannot be collected through JavaScript.
Local time can.
RAM can only be approximated to protect user privacy. Edit: And it’s not available on Firefox.
OS+version are already in your browser’s user-agent string that is sent out with every request you make.
Machine hardware cannot be enumerated. JavaScript can try to guess your GPU based on what it can do with WebGL.
There is no way to get a serial number or similar.
But if you go on to block some of the stuff you make yourself easier to identify. You go from “some guy with Windows” to that “that guy who blocks this and that and also that other thing”.
I think it is much more effective to use Ublock Origin and let it do its thing.
But the moth would side with the lamp.