My favorites | Sign in
Project Logo
             
Search
for
Updated Sep 19, 2008 by pilgrim
Labels: about-dom, is-dom-property
NavigatorPlatformProperty  
The navigator.platform property

Values

The navigator.platform property returns a string.

This property is read-only.

Usage

Browser compatibility

Compatibility table legend

Test IE8 IE7 IE6 FF3 FF2 Saf3 Op9 Chrome
typeOf(navigator.platform) != 'undefined' Y Y Y Y Y Y Y Y

Further reading


Comment by joepeck02, May 16, 2008

I'm on an Intel Mac running OS X 10.5.2 Leopard. I get the following values:

Safari 3.1.1 => "MacIntel?" Webkit => "MacIntel?" Firefox 12.0.0.11 => "MacIntel?"

Comment by tre...@gmail.com, Jul 03, 2009

The values I'm currently working with:

Win32           # observed in FF3.0 and IE8 on *64-bit* Windows as well
MacIntel
MacPPC
Linux i686
Linux x86_64    # observed in FF3.0/CentOS5 64-bit
SunOS           # from MSDN docs
HP-UX           # from MSDN docs

I haven't see the "Linux x86_64" one mentioned in various docs before.

I don't know what the browsers in various smart phones report. Anyone? Just enter "javascript:alert(navigator.platform);" in your phone's browser.


Sign in to add a comment
Hosted by Google Code