How to detect the OS using jquery

It is very easy to detect the OS using jquery. Below are jqury function that may help you. $(‘#osInfo’).html(“Your OS is: <b>” + $.client.os + “</b>”); //To detect Mac OS: if((navigator.platform.indexOf(“Mac”) != -1)) { // code } $.browser.linux(); $.browser.mac(); $.browser.win();   To Detect Browser and browser version:   /* ===== Firefox ===== */   // […]