faisalman / ua-parser-js

"Unmask Your Traffic" - UAParser.js: The Essential Web Development Tool for User-Agent Detection
https://uaparser.dev/
GNU Affero General Public License v3.0
9.28k stars 1.19k forks source link

wrong DuckDuckGo detection #730

Closed AKaravas closed 6 months ago

AKaravas commented 6 months 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