Skip to content

Commit

Permalink
Recognise browser: Ecosia ios in-app browser
Browse files Browse the repository at this point in the history
  • Loading branch information
omrilotan committed Mar 29, 2024
1 parent c123374 commit a580f3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions fixtures/browsers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ DuckDuckGo:
- Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 DuckDuckGo/7
Ecosia:
- Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Mobile Safari/537.36 (Ecosia [email protected])
- Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.1 Mobile/15E148 Safari/604.1 (Ecosia [email protected])
- Mozilla/5.0 (Linux; Android 8.0.0; Moto Z2 Play) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Mobile Safari/537.36 (Ecosia [email protected])
Edge:
- Mozilla/5.0 (iPhone; CPU iPhone OS 13_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 EdgiOS/44.10.19 Mobile/15E148 Safari/605.1.15
Expand Down
2 changes: 1 addition & 1 deletion src/patterns.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"(?<!(?: ya| yandex|^job) ?)search",
"(?<!(?:lib))http",
"(?<![hg]m)score",
"(?<!android)@",
"(?<!android|ios)@",
"\\(\\)",
"\\.com",
"^12345",
Expand Down

0 comments on commit a580f3d

Please sign in to comment.