Skip to content

Commit

Permalink
feat(client) detect browser Dolphin Zero
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchezzzhak committed Mar 17, 2022
1 parent 1bc3c4a commit ef6130e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions Parser/Client/Browser.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ class Browser extends AbstractClientParser
'DT' => 'Delta Browser',
'DS' => 'DeskBrowse',
'DF' => 'Dolphin',
'DZ' => 'Dolphin Zero',
'DO' => 'Dorado',
'DR' => 'Dot Browser',
'DL' => 'Dooble',
Expand Down
11 changes: 11 additions & 0 deletions Tests/Parser/Client/fixtures/browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4933,3 +4933,14 @@
family: Chrome
headers:
X-Requested-With: com.kuto.browser
-
user_agent: Mozilla/5.0 (Linux; Android 12; Pixel 5a Build/SQ1A.211205.008; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/96.0.4664.92 Mobile Safari/537.36
client:
type: browser
name: Dolphin Zero
version: ""
engine: Blink
engine_version: ""
family: Chrome
headers:
X-Requested-With: com.dolphin.browser.zero
1 change: 1 addition & 0 deletions regexes/client/hints/browsers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@
'com.jio.web': 'JioPages'
'com.ume.browser.cust': 'Ume Browser'
'com.kuto.browser': 'KUTO Mini Browser'
'com.dolphin.browser.zero': 'Dolphin Zero'

0 comments on commit ef6130e

Please sign in to comment.