Thread: OS Stats
View Single Post
  #2   Spotlight this post!  
Unread 15-11-2002, 14:41
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
You can do it in javascript fairly easily. Just look at the navigator.appVersion object and look for the substring "Win" "Mac" "Linux" or "X11". I'm sure there are other possible values to check for, but these are the only ones I know of.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php