THE NAVIGATOR OBJECT
Originally introduced in Netscape Navigator 2, the navigator
object is the standard for browser identification on the client. The navigator
object is common among all JavaScript-enabled web browsers. As with other BOM objects, each browser supports its own set of properties.
The navigator object implements methods and properties defined in the NavigatorID
, NavigatorLanguage
, NavigatorOnLine
, NavigatorContentUtils
, NavigatorStorage
, NavigatorStorageUtils
, NavigatorConcurrentHardware
, NavigatorPlugins
, and NavigatorUserMedia
interfaces.
The following table lists each available property and method:
PROPERTY/METHOD | DESCRIPTION |
activeVrDisplays |
Returns an array of every VRDisplay instance with its ispresenting property set to true . |
appCodeName |
Returns "Mozilla" even in non-Mozilla browsers. | ...