Current User Navigator Object

From 3B Knowledge
Jump to navigation Jump to search

The Navigator interface represents the state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities.

The navigator object contains information about the browser.

Navigator Object Properties

Property Description
appCodeName Returns browser code name
appName Returns browser name
appVersion Returns browser version
cookieEnabled Returns true if browser cookies are enabled
geolocation Returns a geolocation object for the user's location
language Returns browser language
onLine Returns true if the browser is online
platform Returns browser platform
product Returns browser engine name
userAgent Returns browser user-agent header