TOC PREV NEXT INDEX

Put your logo here!


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. 


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX