欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

整合 User-Agent 大全汇总

程序员文章站 2022-05-29 10:18:55
一、IE 浏览器 而IE各个版本典型的userAgent如下:Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2)Mozilla/4.0 (compat ......

一、ie 浏览器

而ie各个版本典型的useragent如下:
mozilla/4.0 (compatible; msie 8.0; windows nt 6.0)
mozilla/4.0 (compatible; msie 7.0; windows nt 5.2)
mozilla/4.0 (compatible; msie 6.0; windows nt 5.1)
mozilla/4.0 (compatible; msie 5.0; windows nt)

ie8的user-agents:详细说明如下:

ie8 on windows vista (兼容浏览)

 

mozilla/4.0 (compatible; msie 7.0; windows nt 6.0; trident/4.0)

ie8 on windows vista
mozilla/4.0 (compatible; msie 8.0; windows nt 6.0; trident/4.0)

ie8 on windows 7
mozilla/4.0 (compatible; msie 8.0; windows nt 6.1; trident/4.0)

64-bit ie on 64-bit windows 7:
mozilla/4.0 (compatible; msie 8.0; windows nt 6.1; win64; x64; trident/4.0)

32-bit ie on 64-bit windows 7:
mozilla/4.0 (compatible; msie 8.0; windows nt 6.1; wow64; trident/4.0)
其中,版本号是msie之后的数字。

二、firefox 浏览器
firefox几个版本的useragent大致如下:

mozilla/5.0 (windows nt 6.1; wow64; rv:34.0) gecko/20100101 firefox/34.0
mozilla/5.0 (x11; u; linux x86_64; zh-cn; rv:1.9.2.10) gecko/20100922 ubuntu/10.10 (maverick) firefox/3.6.10
mozilla/5.0 (windows; u; windows nt 5.2) gecko/2008070208 firefox/3.0.1
mozilla/5.0 (windows; u; windows nt 5.1) gecko/20070309 firefox/2.0.0.3
mozilla/5.0 (windows; u; windows nt 5.1) gecko/20070803 firefox/1.5.0.12
其中,版本号是firefox之后的数字。


三、opera 浏览器
opera典型的useragent如下:

mozilla/5.0 (windows nt 6.1; wow64) applewebkit/537.36 (khtml, like gecko) chrome/39.0.2171.95 safari/537.36 opr/26.0.1656.60
opera/8.0 (windows nt 5.1; u; en)
mozilla/5.0 (windows nt 5.1; u; en; rv:1.8.1) gecko/20061208 firefox/2.0.0 opera 9.50
mozilla/4.0 (compatible; msie 6.0; windows nt 5.1; en) opera 9.50
opera/9.27 (windows nt 5.2; u; zh-cn)
opera/8.0 (macintosh; ppc mac os x; u; en)
mozilla/5.0 (macintosh; ppc mac os x; u; en) opera 8.0
其中,版本号是靠近opera的数字。

 

四、safari 浏览器
safari典型的useragent如下:
mozilla/5.0 (windows; u; windows nt 5.2) applewebkit/525.13 (khtml, like gecko) version/3.1 safari/525.13
mozilla/5.0 (iphone; u; cpu like mac os x) applewebkit/420.1 (khtml, like gecko) version/3.0 mobile/4a93 safari/419.3

mozilla/5.0 (windows nt 6.1; wow64) applewebkit/534.57.2 (khtml, like gecko) version/5.1.7 safari/534.57.2 
其版本号是version之后的数字。


五、 chrome 浏览器
chrome的useragent是:
mozilla/5.0 (windows; u; windows nt 5.2) applewebkit/525.13 (khtml, like gecko) chrome/0.2.149.27 safari/525.13

mozilla/5.0 (windows nt 6.1; wow64) applewebkit/537.36 (khtml, like gecko) chrome/39.0.2171.71 safari/537.36
mozilla/5.0 (x11; linux x86_64) applewebkit/537.11 (khtml, like gecko) chrome/23.0.1271.64 safari/537.11
mozilla/5.0 (windows; u; windows nt 6.1; en-us) applewebkit/534.16 (khtml, like gecko) chrome/10.0.648.133 safari/534.16

 

六、navigator 浏览器
目前,navigator的useragent是:
mozilla/5.0 (windows; u; windows nt 5.1; en-us; rv:1.8.1.12) gecko/20080219 firefox/2.0.0.12 navigator/9.0.0.6
其中,版本号在navigator之后的数字。


七、其他浏览器

maxthon浏览器
mozilla/5.0 (windows nt 6.1; wow64) applewebkit/537.36 (khtml, like gecko) maxthon/4.4.3.4000 chrome/30.0.1599.101 safari/537.36

 

360
mozilla/5.0 (windows nt 6.1; wow64) applewebkit/537.36 (khtml, like gecko) chrome/30.0.1599.101 safari/537.36
mozilla/5.0 (windows nt 6.1; wow64; trident/7.0; rv:11.0) like gecko

淘宝浏览器
mozilla/5.0 (windows nt 6.1; wow64) applewebkit/536.11 (khtml, like gecko) chrome/20.0.1132.11 taobrowser/2.0 safari/536.11

猎豹浏览器
mozilla/5.0 (windows nt 6.1; wow64) applewebkit/537.1 (khtml, like gecko) chrome/21.0.1180.71 safari/537.1 lbbrowser
mozilla/5.0 (compatible; msie 9.0; windows nt 6.1; wow64; trident/5.0; slcc2; .net clr 2.0.50727; .net clr 3.5.30729; .net clr 3.0.30729; media center pc 6.0; .net4.0c; .net4.0e; lbbrowser) 
mozilla/4.0 (compatible; msie 6.0; windows nt 5.1; sv1; qqdownload 732; .net4.0c; .net4.0e; lbbrowser)" 

qq浏览器
mozilla/5.0 (compatible; msie 9.0; windows nt 6.1; wow64; trident/5.0; slcc2; .net clr 2.0.50727; .net clr 3.5.30729; .net clr 3.0.30729; media center pc 6.0; .net4.0c; .net4.0e; qqbrowser/7.0.3698.400)
mozilla/4.0 (compatible; msie 6.0; windows nt 5.1; sv1; qqdownload 732; .net4.0c; .net4.0e) 

sogou浏览器
mozilla/5.0 (windows nt 5.1) applewebkit/535.11 (khtml, like gecko) chrome/17.0.963.84 safari/535.11 se 2.x metasr 1.0
mozilla/4.0 (compatible; msie 7.0; windows nt 5.1; trident/4.0; sv1; qqdownload 732; .net4.0c; .net4.0e; se 2.x metasr 1.0) 

uc浏览器
mozilla/5.0 (windows nt 6.1; wow64) applewebkit/537.36 (khtml, like gecko) chrome/38.0.2125.122 ubrowser/4.0.3214.0 safari/537.36


==================== 移动浏览器大全 ====================

iphone
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

ipod
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

ipad
mozilla/5.0 (ipad; u; cpu os 4_2_1 like mac os x; zh-cn) applewebkit/533.17.9 (khtml, like gecko) version/5.0.2 mobile/8c148 safari/6533.18.5
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

android
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.1
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/533.1

qq浏览器 android版本
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
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
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
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
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
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) browserng/7.1.18124

windows phone mango
mozilla/5.0 (compatible; msie 9.0; windows phone os 7.5; trident/5.0; iemobile/9.0; htc; titan)


uc浏览器
ucweb7.0.2.37/28/999

nokia5700/ ucweb7.0.2.37/28/999

ucopenwave
openwave/ ucweb7.0.2.37/28/999

uc opera
mozilla/4.0 (compatible; msie 6.0; ) opera/ucweb7.0.2.37/28/999