browser.js
- Source
Members
ANDROID_VERSION :number|string|null
The detected Android version - or null
if not Android or indeterminable.
- number |
string | null
- Source
CHROME_VERSION :number|null
The detected Google Chrome version - or null
. This has always been the Chromium version, i.e. would return on Chromium Edge. Deprecated, use CHROMIUM_VERSION instead.
- number |
null
- Deprecated
- Yes
- Source
CHROMIUM_VERSION :number|null
The detected Chromium version - or null
.
- number |
null
- Source
IE_VERSION :number|null
The detected Internet Explorer version - or null
.
- number |
null
- Deprecated
- Yes
- Source
IOS_VERSION :string|null
The detected iOS version - or null
.
- string |
null
- Source
IS_ANDROID :Boolean
Whether or not this is an Android device.
- Boolean
- Source
IS_ANY_SAFARI :Boolean
Whether or not this is any flavor of Safari - including iOS.
- Boolean
- Source
IS_CHROME :Boolean
Whether or not this is any Chromium browser that is not Edge.
This will also be true
for Chrome on iOS, which will have different support as it is actually Safari under the hood.
Deprecated, as the behaviour to not match Edge was to prevent Legacy Edge's UA matching. IS_CHROMIUM should be used instead. "Chromium but not Edge" could be explicitly tested with IS_CHROMIUM && !IS_EDGE
- Boolean
- Deprecated
- Yes
- Source
IS_CHROMIUM :Boolean
Whether or not this is any Chromium Browser
- Boolean
- Source
IS_EDGE :Boolean
Whether or not this is Microsoft Edge.
- Boolean
- Source
IS_FIREFOX :Boolean
Whether or not this is Mozilla Firefox.
- Boolean
- Source
IS_IOS :Boolean
Whether or not this is an iOS device.
- Boolean
- Source
IS_IPAD :Boolean
Whether or not this device is an iPad.
- Boolean
- Source
IS_IPHONE :Boolean
Whether or not this device is an iPhone.
- Boolean
- Source
IS_IPOD :Boolean
Whether or not this device is an iPod.
- Boolean
- Source
IS_SAFARI :Boolean
Whether or not this is desktop Safari.
- Boolean
- Source
IS_WINDOWS :Boolean
Whether or not this is a Windows machine.
- Boolean
- Source
TOUCH_ENABLED :Boolean
Whether or not this device is touch-enabled.
- Boolean
- Source