JavaScript Navigator Object (GO)

Source: Internet
Author: User

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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.