架构师_程序员_码农网

Retrieve password
Register

QQ登录

Just one step to get started

Search
View:8877|Reply: 0
打印 上一主题 下一主题

The most popular browser User-Agent summary

[copy link]
跳转到指定楼层
owner of the building
发表于 2021-6-14 10:25:41| 看该作者回帖奖励|ReverseBrowse|Read Mode
I. Basics Chapter:

Http Header of User-Agent

User Agent Chinese name for the user agent, is a part of the Http protocol, belongs to the header field components, User Agent is also referred to as UA. it is a special string header, is a kind of access to the site to provide you with the type and version of the browser, the operating system and the version of the browser, the browser kernel, and other information of the logo. Through this identification, the website visited by the user can display a different layout to provide a better user experience or information statistics; for example, accessing Google from a cell phone is different from accessing it from a computer, which is determined by Google according to the visitor's UA. UA can be camouflaged.

The standard format of the browser's UA string is: Browser ID (operating system ID; encryption level ID; browser language) Renderer ID version information. However, it varies from browser to browser.

String description:

1. Browser ID

For compatibility and promotion purposes, many browsers have the same logo, so the browser logo does not indicate the real version of the browser, the real version information can be found at the end of the UA string.

2、Operating system identification



3、Encryption level marking

N: No security encryption
I: weak security encryption
U: Strong security encryption

4. Browser Language
Language specified in Preferences > General > Language

5. Rendering Engine
Show the mainstream rendering engine used by the browser: Gecko, WebKit, KHTML, Presto, Trident, Tasman, etc., in the format of: Rendering engine / version information

6、Version Information
show the real version of the browser information, format: browser / version information

Note:
1, in the ad targeting settings, browser targeting and operating system targeting are targeted to the information in User-Agent.
2、For more information about User-Agent, please refer to the User-agent string history.

Browser User-Agent details

PC:

safari 5.1 - MAC
User-Agent:Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_8; en-us) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50

safari 5.1 - Windows
User-Agent:Mozilla/5.0 (Windows; U; Windows NT 6.1; en-us) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50

IE 9.0
User-Agent:Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0.

IE 8.0
User-Agent:Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0)

IE 7.0
User-Agent:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)

IE 6.0
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Firefox 4.0.1 - MAC
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

Firefox 4.0.1 - Windows
User-Agent:Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

Opera 11.11 - MAC
User-Agent:Opera/9.80 (Macintosh; Intel Mac OS X 10.6.8; U; en) Presto/2.8.131 Version/11.11

Opera 11.11 - Windows
User-Agent:Opera/9.80 (Windows NT 6.1; U; en) Presto/2.8.131 Version/11.11

Chrome 17.0 - MAC
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11

Maxthon
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Maxthon 2.0)

Tencent TT
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; TencentTraveler 4.0)

The World 2.x
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)

The World 3.x
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; The World)

Sogou Browser 1.x
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; SE 2.X MetaSr 1.0; SE 2.X MetaSr 1.0; .NET CLR 2.0.50727; SE 2.X MetaSr 1.0)

360 Browser
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; 360SE)

Avant
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Avant Browser)

Green Browser
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)

Mobile devices:

safari iOS 4.33 - iPhone
User-Agent:Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5

safari iOS 4.33 - iPod Touch
User-Agent:Mozilla/5.0 (iPod; U; CPU iPhone OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5 safari iOS 4.33 - iPod Touch 6533.18.5

safari iOS 4.33 - iPad
User-Agent:Mozilla/5.0 (iPad; U; CPU OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/ 6533.18.5 safari iOS 4.33 - iPad 6533.18.5

Android N1
User-Agent: Mozilla/5.0 (Linux; U; Android 2.3.7; en-us; Nexus One Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/ 6533.18.5 Android N1 533.1

Android QQ Browser For android
User-Agent: MQQBrowser/26 Mozilla/5.0 (Linux; U; Android 2.3.7; zh-cn; MB200 Build/GRJ22; CyanogenMod-7) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1

Android Opera Mobile
User-Agent: Opera/9.80 (Android 2.3.4; Linux; Opera Mobi/build-1107180945; U; en-GB) Presto/2.8.149 Version/11.10

Android Pad Moto Xoom
User-Agent: Mozilla/5.0 (Linux; U; Android 3.0; en-US; Xoom Build/HRI39) AppleWebKit/534.13 (KHTML, like Gecko) Version/4.0 Safari/534.13

BlackBerry
User-Agent: Mozilla/5.0 (BlackBerry; U; BlackBerry 9800; en) AppleWebKit/534.1+ (KHTML, like Gecko) Version/6.0.0.337 Mobile Safari/534.1+

WebOS HP Touchpad
User-Agent: Mozilla/5.0 (hp-tablet; Linux; hpwOS/3.0.0; U; en-US) AppleWebKit/534.6 (KHTML, like Gecko) wOSBrowser/233.70 Safari/534.6 TouchPad /1.0

Nokia N97
User-Agent: Mozilla/5.0 (SymbianOS/9.4; Series60/5.0 NokiaN97-1/20.0.019; Profile/MIDP-2.1 Configuration/CLDC-1.1) AppleWebKit/525 (KHTML, like Gecko) BrowserBrowser/233.70 like Gecko) BrowserNG/7.1.18124

Windows Phone Mango
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; HTC; Titan)

UC None
User-Agent: UCWEB7.0.2.37/28/999

UC Standard
User-Agent: NOKIA5700/ UCWEB7.0.2.37/28/999

UCOpenwave
User-Agent: Openwave/ UCWEB7.0.2.37/28/999

UC Opera
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; ) Opera/UCWEB7.0.2.37/28/999

Browser Recognition

1、IE browser (IE 9.0 as an example)

PC: User-Agent:Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; )
Mobile devices: User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; HTC; Titan)

Since Oceanis, Windows, 360, Tencent, Sogou, Avant, Green Browser all use the IE kernel, IE browsers are judged by the "MSIE" field, and the number after the MSIE field is the version number, but also need to judge the version that does not include Maxthon", "The world", "360SE", "TencentTraveler", "S", "TencentTraveler" and "S". ", "SE", and "Avant" fields (Green Browser is not clearly identified). Mobile devices also need to determine the IEMobile + version number.

2. 360 Browser

PC: User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; InfoPath.2; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; 360SE)
Mobile devices: None

360 browser is judged by the "360SE" field, there is no version.

3、Sogou Browser

PC: User-Agent:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; SE 2.X MetaSr 1.0; SE 2.X MetaSr 1.0; .NET CLR 2.0.50727; SE 2.X MetaSr 1.0)
Mobile devices: Not available

Sogou Browser is judged by the "SE" and "MetaSr" fields, and the version number is the number after SE.

4、Chrome

PC: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11

Mobile devices: User-Agent: Mozilla/5.0 (Linux; U; Android 2.2.1; zh-cn; HTC_Wildfire_A3333 Build/FRG83D) AppleWebKit/533.1 (KHTML, like Gecko) Version/ 4.0 Mobile Safari/533.11 (KHTML, like Gecko) 4.0 Mobile Safari/533.1

PC chrome is judged by the chrome field, the number after chrome is the version number; mobile chrome is judged by "android", "linux", "mobile safari" and other fields, the number after version is the version number.

5、Safari

PC: User-Agent:Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_8; en-us) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50

Mobile devices: User-Agent:Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5

Since Chrome and Nokia's Series 60 browser also use the WebKit kernel, the Safari browser must be determined by including the safari field and not including information such as chrome. The number after "version/" is the version number. Under the above conditions, the Mobile field is included in the Safari browser for mobile devices.

6、Tencent Browser

PC: User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; TencentTraveler 4.0; .NET CLR 2.0.50727)

Mobile devices: User-Agent: MQQBrowser/26 Mozilla/5.0 (Linux; U; Android 2.3.7; zh-cn; MB200 Build/GRJ22; CyanogenMod-7) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1

Tencent Browser is judged by "TencentTraveler" or "QQBrowser", and the number after TencentTraveler or QQBrowser is the version number.

7. Firefox

PC: User-Agent:Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

Mobile devices:User-Agent: Mozilla/5.0 (Androdi; Linux armv7l; rv:5.0) Gecko/ Firefox/5.0 fennec/5.0

Firefox is judged by the Firefox field, and the number after firefox is the version number.

8. The world

PC: User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; The World)

Mobile devices: Not yet available

The world browser is judged by the "The world" field, no version number is indicated.

Note: The world 2.x version of the User-Agent does not have "The world" field.

9、Oceanize

PC: User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Maxthon 2.0)

Mobile devices: Not yet available

Oceanis is judged by "Maxthon", and the number after Maxthon is the version number.

10、Opera

PC: User-Agent:Opera/9.80 (Windows NT 6.1; U; en) Presto/2.8.131 Version/11.11

Mobile devices: User-Agent: Opera/9.80 (Android 2.3.4; Linux; Opera mobi/adr-1107051709; U; zh-cn) Presto/2.8.149 Version/11.10

The opera browser is judged by the opera field, and the number after the opera field is the version number.

11、UC Browser

UC Web has a variety of modes of browsing, the corresponding User-Agent is:

UC None
User-Agent: UCWEB7.0.2.37/28/999

UC Standard
User-Agent: NOKIA5700/ UCWEB7.0.2.37/28/999

UCOpenwave
User-Agent: Openwave/ UCWEB7.0.2.37/28/999

UC Opera
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; ) Opera/UCWEB7.0.2.37/28/999

UC Browser is judged by the "UCWEB" field, the number after UCWEB is the version number.

Operating System Orientation

Operating system orientation depends on the User-Agent in the http header information transmitted by each browser when opening a page. For the description of the User-Agent, please refer to the User-Agent in the Http header.
For more information about User-Agent, see Browser User-Agent details.

Let's learn how to recognize different operating systems in User-Agent.

PC



Mobile





Previous: The "Content-Security-Policy" header is missing or insecure vulnerability
Next article: Nginx configuration file multiple logical operations
NET, only published in the process of practice, encountered technical difficulties, do not mislead others.
You need to log in before you can post back Log in | Register

This version of the integral rules

DISCLAIMER:
All software, programming materials or articles published by Code Farmer are limited to be used for learning and research purposes only; the above contents shall not be used for commercial or illegal purposes, otherwise, all the consequences shall be borne by the users themselves. This site information from the network, copyright dispute has nothing to do with this site. You must completely remove the above content from your computer within 24 hours of downloading. If you like the program, please support the genuine software, buy registration and get better genuine service. If there is any infringement, please contact us by email to deal with it.

Mail To:help@itsvse.com

QQ| ( ICP备14021824号-2 )|Sitemap

GMT+8, 2024-9-19 00:13

Quick ReplyBack to topBack to list