Chek Windows Vista using Javascript -


How can I get the Windows Vista service pack version using Javascript?

Although I'm not sure that it is a cross browser, I would be better way to use server-side languages.

By using PHP, you can do this.

  & lt;? Copy $ _SERVER ['HTTP_USER_AGENT']; ? & Gt;   

Both JavaScript and PHP works like this

  Mozilla / 5.0 (Windows; U; Windows NT 6.1; N-US; R You can locate the OS using this output because Windows NT 6.1 is  Windows 7    

Comments