platform
platform.description
platform.layout
platform.manufacturer
platform.name
platform.prerelease
platform.product
platform.ua
platform.version
platform.parse
platform.toString
(Object): The platform object.
(string, null): The platform description.
(string, null): The name of the browser's layout engine.
(string, null): The name of the product's manufacturer.
(string, null): The name of the browser/environment.
(string, null): The alpha/beta release indicator.
(string, null): The name of the product hosting the browser.
(string, null): The browser's user agent string.
(string, null): The browser/environment version.
Creates a new platform object.
[ua=navigator.userAgent]
(Object|string): The user agent string or context object.
(Object): A platform object.
Returns platform.description
when the platform object is coerced to a string.
(string): Returns platform.description
if available, else an empty string.
(Object): The name of the operating system.
(number, null): The CPU architecture the OS is built for.
(string, null): The family of the OS.
Common values include:
"Windows", "Windows Server 2008
R2 / 7
", "Windows Server 2008
/ Vista", "Windows XP", "OS X", "Ubuntu", "Debian", "Fedora", "Red Hat", "SuSE", "Android", "iOS" and "Windows Phone OS"
(string, null): The version of the OS.
Returns the OS string.
(string): The OS string.