Current User Navigator Object

From 3B Knowledge
Revision as of 06:07, 3 September 2022 by Admin (talk | contribs) (Created page with "The <code>Navigator</code> 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 == {| class="wikitable" !Property !Description |- |appCodeName |Returns browser code name |- |appName |Returns browser name |- |appVersion |Returns browser version |- |cookieEnabled |Returns true if br...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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