The navigator object contains state and identity information about the browser/user agent.
PropertiesRetrieves whether client-side persistent cookies are enabled. Persistent cookies are those that are stored on the client-side computer.
Returns the user’s do-not-track setting. This is “yes” if the user has requested not to be tracked by web sites, content, or advertising.
The maximum number of simultaneous touch contacts supported by the device.
Retrieves the name of the user’s operating system.
In IE10 and higher and WaterFox browsers this will return the bitness of the current tab. eg
Win32 or Win64.
Indicates if the browser will fire pointer events for pointing input.
In late 2013, pointerEnabled was removed from the specification as checking PointerEvent in Window object is sufficient for feature detection. Do not use this property and use PointerEvent instead.
Retrieves the operating system’s natural language setting.
This property reflects the setting in the "Your locale (location)" box in the Regional Options of Control Panel—for example, "English (United States).
successCallback
is invoked on the calling application with a LocalMediaStream object as its argument.
No events.
Examples[object Navigator] example enumerates the window.navigator object and displays the results in the web page.
Usage
Commonly used for feature detection of a web browser capabilities. java RTE and cookie support.
Avoid UserAgent sniffing of the navigator.userAgent property as this is not a reliable indicator of the userAgent’s actual version number.
AttributionsMozilla Developer Network : [Navigator Object Article]
Microsoft Developer Network: [Navigator Object Article]
Portions of this content come from HTML5Rocks! [Feature Detection article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4