Giter VIP home page Giter VIP logo

Comments (9)

nielsbasjes avatar nielsbasjes commented on August 21, 2024

Yes, you are right. The Samsung browser has changed their behavior with the latest release.

from yauaa.

nielsbasjes avatar nielsbasjes commented on August 21, 2024

Fixed.
https://github.com/nielsbasjes/yauaa/blob/main/analyzer/src/main/resources/UserAgents/Samsung.yaml#L2301-L2410

from yauaa.

hejiac2023 avatar hejiac2023 commented on August 21, 2024

hey @nielsbasjes ,this issue is not only a bug report, but also a feature requirement :)

Is there any method or api to known it's a frozen useragent?

from yauaa.

nielsbasjes avatar nielsbasjes commented on August 21, 2024

I'll have a look.
Do realize that I already in know of at least 3 different ways of reducing the ua info.

from yauaa.

nielsbasjes avatar nielsbasjes commented on August 21, 2024

Q: What is the usecase you would like to know this for? Im thinking perhaps simply looking at the '??' is the best way?

from yauaa.

hejiac2023 avatar hejiac2023 commented on August 21, 2024

My usecase is to stat the real mobile os version, so i need to exclude the frozen ua, looking at '??' can do that, but just this way make me uncomfortable

from yauaa.

nielsbasjes avatar nielsbasjes commented on August 21, 2024

Ok, understood.
I'll investigate what is the most reliable way to determine this.
Right now your check for '??' seems like the best option.

from yauaa.

nielsbasjes avatar nielsbasjes commented on August 21, 2024

I double checked.

Simply reporting if the UA was frozen is not an accurate answer to your question. Looking at the version and filtering it out if it is '??' is actually the correct way of doing what you are looking for.

An example is that when ClientHints are available then the UA was frozen and still the actual OS version is available.
https://github.com/nielsbasjes/yauaa/blob/main/analyzer/src/main/resources/UserAgents/Samsung.yaml#L2364-L2384

from yauaa.

nielsbasjes avatar nielsbasjes commented on August 21, 2024

I have released a new version with the Samsung fix in it.

from yauaa.

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.