Skip to content

Commit

Permalink
Improves detection for DuckDuckGo Privacy Browser (matomo-org#7737)
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuconcioiu authored Jul 11, 2024
1 parent 20278b1 commit 882cd96
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions Tests/Parser/Client/fixtures/browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9604,3 +9604,12 @@
engine: WebKit
engine_version: "547.2"
family: ""
-
user_agent: 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
client:
type: browser
name: DuckDuckGo Privacy Browser
version: "17.5"
engine: WebKit
engine_version: 605.1.15
family: Chrome
2 changes: 1 addition & 1 deletion regexes/client/browsers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2429,7 +2429,7 @@
28: 'Blink'

# DuckDuckGo Privacy Browser
- regex: 'DuckDuckGo/(\d+[\.\d]*)'
- regex: '(?:DuckDuckGo|Ddg)/(\d+[\.\d]*)'
name: 'DuckDuckGo Privacy Browser'
version: '$1'
- regex: '(?:DDG-Android-|ddg_android/)(\d+[\.\d]*)'
Expand Down

0 comments on commit 882cd96

Please sign in to comment.