userAgent.platform

Classes


Public Protected Private

Global Functions

goog.userAgent.platform.determineVersion_() string
Detects the version of Windows or Mac OS that is running.
Returns: string  The platform version.
code »
goog.userAgent.platform.isVersion(version) boolean
Whether the user agent platform version is higher or the same as the given version.
Arguments:
version : string | number
The version to check.
Returns: boolean  Whether the user agent platform version is higher or the same as the given version.
code »

Global Properties

goog.userAgent.platform.VERSION :
The version of the platform. We only determine the version for Windows and Mac, since it doesn't make much sense on Linux. For Windows, we only look at the NT version. Non-NT-based versions (e.g. 95, 98, etc.) are given version 0.0
Code »

Package userAgent

Package Reference