You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have encountered an issue with the ua-parser-js library where the browser detection results for the QQ user agent are inconsistent between version 0.8.1 and versions v1.0.0 and above. The expected behavior is that the library should return "QQ" for the QQ browser user agent, but it returns "QQBrowser" in the newer versions. To Reproduce
Verification Code:
Expected behavior
The expected output for the QQ user agent should consistently return "QQ" across all versions of the library, rather than "QQBrowser" in versions v1.0.0 and above.
Additional context
This inconsistency could lead to issues in applications that depend on accurate browser identification for feature detection or analytics. I would appreciate any guidance on resolving this issue or any plans for addressing it in future releases.
Thank you!
The text was updated successfully, but these errors were encountered:
Hi @NangGongZhiXiao, this change was first introduced in this commit: 1a2ef00 (added in 0.7.39 / 1.0.39 / 2.0.0-beta.3) in order to unify the detection of both QQ & QQBrowser since they’re essentially the same browser.
Moving forward it'll be consistently referred to as QQBrowser, as defined in the Browser enum:
Library version
v0.8.1 and v1+
Describe the bug
I have encountered an issue with the ua-parser-js library where the browser detection results for the QQ user agent are inconsistent between version 0.8.1 and versions v1.0.0 and above. The expected behavior is that the library should return "QQ" for the QQ browser user agent, but it returns "QQBrowser" in the newer versions.
To Reproduce
Verification Code:
Results:
using [email protected]:
using [email protected]
Expected behavior
The expected output for the QQ user agent should consistently return "QQ" across all versions of the library, rather than "QQBrowser" in versions v1.0.0 and above.
Additional context
This inconsistency could lead to issues in applications that depend on accurate browser identification for feature detection or analytics. I would appreciate any guidance on resolving this issue or any plans for addressing it in future releases.
Thank you!
The text was updated successfully, but these errors were encountered: