Navigator--navigator objects are typically used to detect browser and operating system versions
- Navigator, Chinese "navigator"
- Citation URL: http://www.dreamdu.com/javascript/window.navigator/
- Navigator object is a property of the Window object
- Because navigator does not have a uniform standard, each browser has its own version of Navigator, which only describes the most commonly supported and most common
Common Navigator Properties
- appCodeName--A string representation of the browser code name
- AppName--A string representation of the official browser name
- AppVersion--A string representation of browser version information
- Cookieenabled--Returns True if cookie is enabled, FALSE otherwise
- Javaenabled--Returns True if Java is enabled, otherwise false
- Platform--a string representation of the computer platform on which the browser resides
- Plugins--an array of plugins installed in the browser
- Taintenabled--Returns True if the data stain is enabled, otherwise false
- UserAgent--A string representation of the user agent header
The most important thing in Navigator is the UserAgent property, which returns a string containing information such as the browser version, followed by cookieenabled, which can be used to determine whether a cookie is turned on by the user's browser.
JavaScript Navigator Object (GO)