Skip to content

Commit

Permalink
Adds detection for SavySoda
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuconcioiu committed Mar 21, 2022
1 parent 029c9bc commit 950153b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Parser/Client/Browser.php
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ class Browser extends AbstractClientParser
'PV' => 'Safari Technology Preview',
'S5' => 'Safe Exam Browser',
'SW' => 'SalamWeb',
'SD' => 'SavySoda',
'S9' => 'Secure Browser',
'SV' => 'SFive',
'SH' => 'Shiira',
Expand Down Expand Up @@ -464,7 +465,7 @@ class Browser extends AbstractClientParser
'VG', 'VI', 'VM', 'WP', 'WH', 'XV', 'YJ', 'YN', 'FH',
'B1', 'BO', 'HB', 'PC', 'LA', 'LT', 'PD', 'HR', 'HU',
'HP', 'IO', 'TP', 'CJ', 'HQ', 'HI', 'NA', 'BW', 'YO',
'DC', 'G8', 'DT', 'AP', 'AK', 'UI',
'DC', 'G8', 'DT', 'AP', 'AK', 'UI', 'SD',
],
'Firefox' => [
'AX', 'BI', 'BF', 'BH', 'BN', 'C0', 'CU', 'EI', 'F1',
Expand Down Expand Up @@ -496,7 +497,7 @@ class Browser extends AbstractClientParser
'PE', 'QU', 'RE', 'S0', 'S7', 'SA', 'SB', 'SG', 'SK',
'ST', 'SU', 'T1', 'UH', 'UM', 'UT', 'VE', 'VV', 'WI',
'WP', 'YN', 'IO', 'IS', 'HQ', 'RW', 'HI', 'NA', 'BW',
'YO', 'PK', 'MR', 'AP', 'AK', 'UI',
'YO', 'PK', 'MR', 'AP', 'AK', 'UI', 'SD',
];

/**
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 @@ -5147,3 +5147,14 @@
family: Chrome
headers:
X-Requested-With: yuce.browser.mini
-
user_agent: Mozilla/5.0 (Linux; Android 12; SM-N976B Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/98.0.4758.101 Mobile Safari/537.36
client:
type: browser
name: SavySoda
version: ""
engine: Blink
engine_version: ""
family: Chrome
headers:
X-Requested-With: SavySoda.PrivateBrowsing
1 change: 1 addition & 0 deletions regexes/client/hints/browsers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@
'com.ask.browser': 'Ask.com'
'com.browser.tssomas': 'Super Fast Browser'
'yuce.browser.mini': 'Ui Browser Mini'
'SavySoda.PrivateBrowsing': 'SavySoda'

0 comments on commit 950153b

Please sign in to comment.