platform
platform.description
platform.layout
platform.manufacturer
platform.name
platform.parse
platform.prerelease
platform.product
platform.toString
platform.ua
platform.version
(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.
Creates a new platform object.
[ua=navigator.userAgent]
(Object|string): The user agent string or context object.
(Object): A platform object.
(string, null): The alpha/beta release indicator.
(string, null): The name of the product hosting the browser.
Returns platform.description
when the platform object is coerced to a string.
(string): Returns platform.description
if available, else an empty string.
(string, null): The browser's user agent string.
(string, null): The browser/environment version.
(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"
Returns the OS string.
(string): The OS string.
(string, null): The version of the OS.