Comments (10)
from detector.
我的无知,之前并不知道 Adr 这个信息的意义。
回头统计下这种 ua 的常用程度以确定是否需要识别。
感谢你的贡献 :)
from detector.
@hotoo 这个是UC for Pad的标准UA格式,影响范围很广
from detector.
对了,1楼提到 for iPad
为什么 iPad 是 Android?
from detector.
@hotoo 写错了,是pad
from detector.
另外带有 mobile 的一般是手机,平板设备不携带这个信息。
这个标准 ua 好像有点不标准 :)
from detector.
@hotoo 你可以参考下UC的官方文档
http://www.uc.cn/download/UCBrowser_User_Agent.pdf
3.1.1 Android 平台 U3 内核版本
Android 平台 U3 内核版极速模式开启状态下 UA 示例如下:(以 MI-ONEPlus 为例)
UCWEB/2.0 (Linux; U; Adr 2.3; zh-CN; MI-ONEPlus) U2/1.0.0 UCBrowser/8.6.0.199 U2/1.0.0
Mobile
Android 平台 U3 内核版极速模式关闭状态下 UA 示例如下:
Mozilla/5.0 (Linux; U; Android 2.3; zh-CN; MI-ONEPlus) AppleWebKit/534.13 (KHTML, like
Gecko) UCBrowser/8.6.0.199 U3/0.8.0 Mobile Safari/534.13
可能是我之前理解错了
from detector.
太感谢了 :)
from detector.
@hotoo 不谢,本来我想直接改代码的,后来想了想,还是先问问你。
from detector.
欢迎 PR
from detector.
Related Issues (20)
- windows下怎么 make啊? HOT 10
- user-root utilize openvpn config ustc ovpn reneg-sec 360000</pre>
- iOS 10 HOT 1
- macOS Sierra HOT 1
- [Bug] Detected data wrong HOT 4
- 支付宝钱包、聚宝 UA
- UC U4 引擎 HOT 1
- 通过userAgent判断当前手机是ios还是安卓不准确 HOT 1
- 不能识别2345浏览器 HOT 3
- 希望增加手机百度识别 HOT 2
- 希望增加夸克浏览器的识别 HOT 2
- iOS Firefox 错误识别为 webview HOT 2
- Consider ES6 or ES2015 Module format? HOT 1
- 增加对 360 手机的识别 HOT 5
- test
- hotoo.me 域名过期 HOT 1
- d'd'd
- 希望增加一个扩展规则的接口 HOT 1
- how to detect is device HOT 1
- 为什么设备版本号都是-1? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from detector.