The scipt is for an intranet site. We only have Win OS machines so MAC and
Linux is not an issue. What I am trying to do is show the user their OS,
version of Media Player and Browser version. I am able to do the last 2 but
can't figure out how to show the OS.
> The scipt is for an intranet site. We only have Win OS machines so MAC and
> Linux is not an issue. What I am trying to do is show the user their OS,
> version of Media Player and Browser version. I am able to do the last 2 but
> can't figure out how to show the OS.
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.
This is the only way I can think of.
VK - 30 Nov 2005 18:46 GMT
> You cannot do it directly from the available browser info, because in
> userAgent string (and other places) Microsoft uses version codes (5.0,
[quoted text clipped - 3 lines]
> 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#UARe
gistry>