Click to Rate and Give Feedback
Properties
 platform Property
platform Property

Retrieves the name of the user's operating system.

Syntax

[ sPlatform = ] object.platform

Possible Values

sPlatformString that receives one of the following values.
HP-UXHP Unix-based computers.
MacPPCMacintosh PowerPC-based computers.
Mac68KMacintosh 68K-based computers.
SunOSSolaris-based computers.
Win32Microsoft Windows 32-bit platform.
Win16Windows 16-bit platform.
WinCEWindows CE platform.

The property is read-only. The property has no default value.

Standards Information

There is no public standard that applies to this property.

Applies To

clientInformation, navigator

See Also

userAgent
Tags What's this?: Add a tag
Community Content
 
Add Community Content
Update      EricLaw   |   Edit   |  

If the user is running 32bit IE (on Win64 or Win32), then this string will return "Win32"

If the user is running 64bit IE, then this string will return "Win64".

Tags What's this?: Add a tag
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker