这里分享一个查询user agent的网站,里面可以搜索各个平台的user agent。
1 网页
例如:iPhone的user agent
https://www.plus-a.net/tools/user_agent_list/?q=iPhone
1.1 检索设备
iPhone iPad iPod iPod touch Android Windows Phone Macintosh Mac OS X Windows Linux
PlayStation Chrome Edge Firefox MSIE Opera Safari Mozilla/4.0 Mozilla/5.0 YJApp-IOS
YJApp-ANDROID jig browser bot Googlebot Google spider
1.2 另外:
iOS13 苹果“偷摸地“改了iPad的userAgent,你被坑过吗
https://juejin.cn/post/6865658712665620494
2. iPhone
主要是版本重复:
Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; HTC; HTC6690LVW) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537
Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; HTC; Windows Phone 8X by HTC) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537
Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; Microsoft; Lumia 640 XL LTE Dual SIM) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537
Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; NOKIA; Lumia 520) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537
Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; NOKIA; Lumia 635; Vodafone) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537
.............省略...........
Mozilla/5.0(iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46
Opera/9.80 (Windows NT 5.1; U; CPU iPhone OS 4_3_3 like Mac OS X; ja) Presto/2.5.24 Version/10.54
Opera/9.80 (iPhone; Opera Mini/14.0.0/37.8603; U; ja) Presto/2.12.423 Version/12.16
Opera/9.80 (iPhone; Opera Mini/14.0.0/37.8743; U; ja) Presto/2.12.423 Version/12.16
Opera/9.80 (iPhone; Opera Mini/14.0.0/37.8773; U; ja) Presto/2.12.423 Version/12.16
Opera/9.80 (iPhone; Opera Mini/14.0.0/37.8841; U; ja) Presto/2.12.423 Version/12.16
Opera/9.80 (iPhone; Opera Mini/14.0.0/59.297; U; ja) Presto/2.12.423 Version/12.16
Opera/9.80 (iPhone; Opera Mini/7.1.32694/27.1366; U; en) Presto/2.8.119 Version/11.10
Opera/9.80 (iPhone; Opera Mini/8.0.3/35.4295; U; ja) Presto/2.8.119 Version/11.10
TabCollection/1.86.0 (iPhone; iOS 10.0.2; Scale/3.00)
TabCollection/1.88.0 (iPhone; iOS 13.1.3; Scale/2.00)
.......省略........
3. Android
Dalvik/1.4.0 (Linux; U; Android 2.3.3; SBM007SH Build/S0026)
Dalvik/1.4.0 (Linux; U; Android 2.3.4; DM010SH Build/S0010)
Dalvik/1.4.0 (Linux; U; Android 2.3.4; SBM003SH Build/S4130)
.................
Mozilla/5.0 (Linux; Android 4.4.4; 402SH Build/S0024) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.117 Mobile Safari/537.36
Mozilla/5.0 (Linux; Android 4.4.4; 402SH Build/S0024) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.81 Mobile Safari/537.36
Mozilla/5.0 (Linux; Android 4.4.4; 402SH Build/S0024) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.36
.................................
Opera/9.80 (Android; Opera Mini/7.6.40234/37.8603; U; en) Presto/2.12.423 Version/12.16
Opera/9.80 (Android; Opera Mini/7.6.40234/37.8603; U; ja) Presto/2.12.423 Version/12.16
Opera/9.80 (Android; Opera Mini/7.6.40234/37.8625; U; ja) Presto/2.12.423 Version/12.16
Opera/9.80 (Android; Opera Mini/7.6.40234/37.8678; U; ja) Presto/2.12.423 Version/12.16
Opera/9.80 (Android; Opera Mini/7.6.40234/37.8717; U; ja) Presto/2.12.423 Version/12.16
Opera/9.80 (Android; Opera Mini/7.6.40234/37.8743; U; ja) Presto/2.12.423 Version/12.16
Opera/9.80 (Android; Opera Mini/7.6.40234/37.8762; U; ja) Presto/2.12.423 Version/12.16
Opera/9.80 (Android; Opera Mini/7.6.40234/37.8773; U; ja) Presto/2.12.423 Version/12.16
Opera/9.80 (Android; Opera Mini/7.6.40234/37.8841; U; ja) Presto/2.12.423 Version/12.16
UCWEB/2.0 (Java; U; MIDP-2.0; Nokia203/20.37) U2/1.0.0 UCMini/11.1.1.1091 (SpeedMode; Proxy; Android 8.1.0; DLI-TL20 ) U2/1.0.0 Mobile
UCWEB/2.0 (Java; U; MIDP-2.0; Nokia203/20.37) U2/1.0.0 UCMini/11.4.1.1138 (SpeedMode; Proxy; Android 5.1.2; SM-N900 ) U2/1.0.0 Mobile
UCWEB/2.0 (Java; U; MIDP-2.0; Nokia203/20.37) U2/1.0.0 UCMini/11.5.2.1188 (SpeedMode; Proxy; Android 5.0.2; AS-5433_Secret ) U2/1.0.0 Mobile