On JavaScript Navigator object properties

Time:2019-11-29
  • Navigator object properties

    You can use the following properties on the Navigator object:

    attribute describe
    appCodeName Return the code name of the browser
    appName Returns the name of the browser
    appVersion Return version information of browser
    cookieEnabled Determine if cookies are enabled in the browser
    geolocation Returns the geolocation object that can be used to locate the user’s location
    language Return to browser language
    onLine Determine if the browser is online
    platform Return to the platform where the browser was compiled
    product Returns the engine name of the browser
    userAgent Returns the user agent header sent by the browser to the server
  • Navigator object method

    You can use the following methods on the Navigator object:

    Method describe
    javaEnabled() Specifies whether the browser is java enabled
    taintEnabled() Removed in JavaScript version 1.2 Specifies whether the browser has data pollution enabled