Git Product home page Git Product logo

Comments (10)

maxzhang avatar maxzhang commented on June 15, 2024

@hotoo

from detector.

hotoo avatar hotoo commented on June 15, 2024

我的无知,之前并不知道 Adr 这个信息的意义。

回头统计下这种 ua 的常用程度以确定是否需要识别。

感谢你的贡献 :)

from detector.

maxzhang avatar maxzhang commented on June 15, 2024

@hotoo 这个是UC for Pad的标准UA格式,影响范围很广

from detector.

hotoo avatar hotoo commented on June 15, 2024

对了,1楼提到 for iPad
为什么 iPad 是 Android?

from detector.

maxzhang avatar maxzhang commented on June 15, 2024

@hotoo 写错了,是pad

from detector.

hotoo avatar hotoo commented on June 15, 2024

另外带有 mobile 的一般是手机,平板设备不携带这个信息。
这个标准 ua 好像有点不标准 :)

from detector.

maxzhang avatar maxzhang commented on June 15, 2024

@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.

hotoo avatar hotoo commented on June 15, 2024

太感谢了 :)

from detector.

maxzhang avatar maxzhang commented on June 15, 2024

@hotoo 不谢,本来我想直接改代码的,后来想了想,还是先问问你。

from detector.

hotoo avatar hotoo commented on June 15, 2024

欢迎 PR

from detector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.