Options
All
  • Public
  • Public/Protected
  • All
Menu

Analyzes the given user agent string and returns information about the browser it represents.

param

A user agent string, such as the one in window.navigator.userAgent.

returns

Details about the given browser.

Hierarchy

Index

Properties

Optional android

android: undefined | boolean

true if the current browser is an Android browser, false otherwise.

Optional bb

bb: undefined | boolean

true if the current browser is a BB browser, false otherwise.

Optional blackberry

blackberry: undefined | boolean

true if the current browser is a Blackberry browser, false otherwise.

Optional chrome

chrome: undefined | boolean

true if the current browser is a Chrome browser, false otherwise.

Optional cros

cros: undefined | boolean

true if the current browser is a Chromium OS browser, false otherwise.

Optional desktop

desktop: undefined | boolean

true if the current browser is a desktop browser, false otherwise.

Optional edge

edge: undefined | boolean

true if the current browser is an Edge browser, false otherwise.

Optional iemobile

iemobile: undefined | boolean

true if the current browser is an IE mobile browser, false otherwise.

Optional ipad

ipad: undefined | boolean

true if the current browser is an iPad browser, false otherwise.

Optional iphone

iphone: undefined | boolean

true if the current browser is an iPhone browser, false otherwise.

Optional ipod

ipod: undefined | boolean

true if the current browser is an iPod browser, false otherwise.

Optional kindle

kindle: undefined | boolean

true if the current browser is a Kindle browser, false otherwise.

Optional linux

linux: undefined | boolean

true if the current browser is a Linux browser, false otherwise.

Optional mac

mac: undefined | boolean

true if the current browser is a Mac browser, false otherwise.

Optional mobile

mobile: undefined | boolean

true if the current browser is a mobile browser, false otherwise.

Optional mozilla

mozilla: undefined | boolean

true if the current browser is a Mozilla browser, false otherwise.

Optional msedge

msedge: undefined | boolean

true if the current browser is an MS Edge browser, false otherwise.

Optional msie

msie: undefined | boolean

true if the current browser is the Internet Explorer browser, false otherwise.

name

name: string

The name of the current browser.

Optional opera

opera: undefined | boolean

true if the current browser is an Opera browser, false otherwise.

Optional opr

opr: undefined | boolean

true if the current browser is an Opr browser, false otherwise.

platform

platform: string

The current platform (operating system).

Optional playbook

playbook: undefined | boolean

true if the current browser is a PlayBook browser, false otherwise.

Optional rv

rv: undefined | boolean

true if the current browser is an RV browser, false otherwise.

Optional safari

safari: undefined | boolean

true if the current browser is a Safari browser, false otherwise.

Optional silk

silk: undefined | boolean

true if the current browser is a Silk browser, false otherwise.

Optional version

version: undefined | string

The version string of the current browser.

Optional versionNumber

versionNumber: undefined | number

The version number of the current browser.

Optional webkit

webkit: undefined | boolean

true if the current browser is a Webkit browser, false otherwise.

Optional win

win: undefined | boolean

true if the current browser is a Windows browser, false otherwise.

Optional windows phone

windows phone: undefined | boolean

true if the current browser is a Windows Phone browser, false otherwise.

Methods

uaMatch

Generated using TypeDoc