Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Navigator platform Property

Navigator platform Property

Navigator Object Reference Navigator object


Definition and Usage

The platform property is a read-only string that declares the operating system and/or hardware platform on which the browser runs.

Syntax

navigator.platform


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the platform property


Example

Example

Which platform your browser was compiled on:

Output of the above example:

Try it »


More examples

This example contains all navigator properties.


Navigator Object Reference Navigator object