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
The DuckDuckGo browser installed on my system (version 1.95.0 (216)) uses the following user agent string:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15 Ddg/17.5
matomo/device-detector detects this user agent string as Safari:
$dd = newDeviceDetector\DeviceDetector('Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15 Ddg/17.5');
$dd->parse();
var_dump($dd->getClient());
This is different from the user agent strings used for testing in #7709, and I'm also unable to find any documentation that shows use of this variant, so maybe this is a bug in DuckDuckGo?
When I use a user agent string from #7709, matomo/device-detector properly identifies the UA as the "DuckDuckGo Privacy Browser:"
$dd = newDeviceDetector\DeviceDetector('Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 DuckDuckGo/7 Safari/605.1.15');
$dd->parse();
var_dump($dd->getClient());
While this PR is for the iOS app, it seems like it might be related: duckduckgo/iOS#2335, particularly this new method with the string "Ddg/" hard-coded:
The DuckDuckGo browser installed on my system (version
1.95.0 (216)
) uses the following user agent string:matomo/device-detector detects this user agent string as Safari:
This is different from the user agent strings used for testing in #7709, and I'm also unable to find any documentation that shows use of this variant, so maybe this is a bug in DuckDuckGo?
When I use a user agent string from #7709, matomo/device-detector properly identifies the UA as the "DuckDuckGo Privacy Browser:"
While this PR is for the iOS app, it seems like it might be related: duckduckgo/iOS#2335, particularly this new method with the string
"Ddg/"
hard-coded:The text was updated successfully, but these errors were encountered: