browser.js
- Source
Members
(static) ANDROID_VERSION :number|string|null
The detected Android version - or null
if not Android or indeterminable.
- number |
string | null
- Source
(static) 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
(static) CHROMIUM_VERSION :number|null
The detected Chromium version - or null
.
- number |
null
- Source
(static) IE_VERSION :number|null
The detected Internet Explorer version - or null
.
- number |
null
- Deprecated
- Yes
- Source
(static) IOS_VERSION :string|null
The detected iOS version - or null
.
- string |
null
- Source
(static) IS_ANDROID :Boolean
Whether or not this is an Android device.
- Boolean
- Source
(static, constant) IS_ANY_SAFARI :Boolean
Whether or not this is any flavor of Safari - including iOS.
- Boolean
- Source
(static) 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
(static, constant) IS_CHROMECAST_RECEIVER :Boolean
Whether or not this is a Chromecast receiver application.
- Boolean
- Source
(static) IS_CHROMIUM :Boolean
Whether or not this is any Chromium Browser
- Boolean
- Source
(static) IS_EDGE :Boolean
Whether or not this is Microsoft Edge.
- Boolean
- Source
(static) IS_FIREFOX :Boolean
Whether or not this is Mozilla Firefox.
- Boolean
- Source
(static, constant) IS_IOS :Boolean
Whether or not this is an iOS device.
- Boolean
- Source
(static) IS_IPAD :Boolean
Whether or not this device is an iPad.
- Boolean
- Source
(static) IS_IPHONE :Boolean
Whether or not this device is an iPhone.
- Boolean
- Source
(static) IS_IPOD :Boolean
Whether or not this device is an iPod.
- Boolean
- Source
(static) IS_SAFARI :Boolean
Whether or not this is desktop Safari.
- Boolean
- Source
(static) IS_SMART_TV :Boolean
Whether or not this is a Smart TV (Tizen or WebOS) device.
- Boolean
- Source
(static) IS_TIZEN :Boolean
Whether or not this is a Tizen device.
- Boolean
- Source
(static) IS_WEBOS :Boolean
Whether or not this is a WebOS device.
- Boolean
- Source
(static) IS_WINDOWS :Boolean
Whether or not this is a Windows machine.
- Boolean
- Source
(static, constant) TOUCH_ENABLED :Boolean
Whether or not this device is touch-enabled.
- Boolean
- Source