Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
platform

platform property

Retrieves the name of the user's operating system.

Syntax

JavaScript

p = object.platform

 

Property values

Type: String

HP-UX

HP UNIX-based computers.

MacPPC

Macintosh PowerPC-based computers.

Mac68K

Macintosh 68K-based computers.

SunOS

Solaris-based computers.

Win64

Windows 64-bit platform.

Win32

Windows 32-bit platform.

Win16

Windows 16-bit platform.

WinCE

Windows CE platform.

See also

clientInformation
navigator
userAgent

 

 

Show:
© 2015 Microsoft