I've seen a number of questions about using JS to get detailed information about the OS. But I just want to know if I'm on Windows or not - my browser plugin will initially support Windows only so I don't want to make users pointlessly download a EXE/MSI installer.
I thought you could do some things like this without using JS... I've seen weird conditional HTML to detect IE in old books IIRC.