The platform or OS of client machine can be determined with the navigator.platform object.

Example of analyzing visitor's OS with JavaScript

 

›› go to examples ››