The goog.userAgent.product Namespace

.ANDROID {boolean}

Whether the code is running on the default browser on an Android phone.

.ASSUME_ANDROID

.ASSUME_CAMINO

.ASSUME_CHROME

.ASSUME_FIREFOX

.ASSUME_IPAD

.ASSUME_IPHONE

.ASSUME_SAFARI

.CAMINO {boolean}

Whether the code is running on the Camino web browser.

.CHROME {boolean}

Whether the code is running on the Chrome web browser.

.FIREFOX {boolean}

Whether the code is running on the Firefox web browser.

.IE {boolean}

Whether the code is running on an IE web browser.

.IPAD {boolean}

Whether the code is running on an iPad.

.IPHONE {boolean}

Whether the code is running on an iPhone or iPod touch.

.OPERA {boolean}

Whether the code is running on the Opera web browser.

.SAFARI {boolean}

Whether the code is running on the Safari web browser.

.VERSION {string}

The version of the user agent. This is a string because it might contain 'b' (as in beta) as well as multiple dots.

.isVersion(version)

Whether the user agent product version is higher or the same as the given version.

version {string|number}
The version to check.
returns {boolean}
Whether the user agent product version is higher or the same as the given version.