Re: Detect and Display Windows Version
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: Detect and Display Windows Version

From: VK <schools_ring@yahoo.com>
Date: Wed Nov 30 2005 - 19:46:24 CET

VK wrote:
> You cannot do it directly from the available browser info, because in
> userAgent string (and other places) Microsoft uses version codes (5.0,
> 5.1 etc) and not the market names like Windows ME, Windows XP etc.
>
> So you have to make (or find) a match table {version code : marken
> name}, study navigator.userAgent for code and display the match from
> that table.

And these Microsoft tables will help you:
<http://msdn.microsoft.com/workshop/author/dhtml/overview/aboutuseragent.asp#UARegistry>
Received on Sat Dec 3 04:33:50 2005