faisalman / ua-parser-js

UAParser.js - The Essential Tool for User-Agent Detection in JavaScript & Web Development.
https://uaparser.dev/
GNU Affero General Public License v3.0
8.85k stars 1.18k forks source link

wrong DuckDuckGo detection #730

Closed AKaravas closed 1 month ago

AKaravas commented 1 month ago

Library version "@ua-parser-js/pro-business": "^2.0.0-beta.2",

Describe the bug Tried to get some data from DuckDuckGo, but it recognized it as Safari (partially right)

To Reproduce just console log the UA while visiting your page from DuckDuckGo

Expected behavior Expected to get DuckDuckGo as name in the browser Object

Screenshots Screenshot 2024-05-21 at 18 47 00

Desktop (please complete the following information):

Additional context As you can see in the UA, the Ddg/17.4.1 is present, i believe Ddg stands for DuckDuckGo