Advanced Programming 9 Client Detection

Source: Internet
Author: User
  • Capability Testing
  • Quirks detection
  • User Agent Detection

First, the ability to detect

1. More reliable capability testing

2, ability detection, not browser detection

Second, quirks detection

Third, the user agent detection

1. History of user-agent strings

① Early Browser

②netscape Navigator 3 and Internet Explorer 3

③netscape Communicator 4 and IE4~IE8

④gecko

⑤webkit

⑥konqueror

⑦chrome

⑧opera

⑨ios and Android

2. User Agent string detection technology

① identify the rendering engine

② Recognition Browser

③ Recognition Platform

④ Identifying Windows operating systems

⑤ Identifying mobile devices

⑥ Recognition Game system

3, The complete code

4. How to use

Advanced Programming 9 Client Detection

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.