UADetect navigatorObject
Componet
Description
Returns the window.navigator
object in JSON format.
If a component is not avalible in the predefined set, you can get it from this object.
Usage Example
#1
import { navigatorObject } from 'uadetect';if (navigatorObject.appCodeName === 'Mozilla') { console.log('This is a Mozilla browser');}
Table of Contents