TOC PREV NEXT INDEX

domref



window.navigator.platform


Returns a string representing the platform of the browser.

Syntax

plat = window.navigator.platform
 

Parameters

plat is a string with one of the following values:

Win95
Windows 95
WinNT
Windows NT
MacPPC
Macintosh PowerPC
SunOS
Solaris
....












Example

function osInfo() {
 
  alert(window.navigator.platform);
 
}
 
// returns: win32
 

Notes

None.

Specification

DOM Level 0. Not part of specification.
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX