Skip to content

Commit

Permalink
feat(client) detect Comfort Browser
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchezzzhak committed Mar 21, 2022
1 parent 3c46816 commit 9428a82
Show file tree
Hide file tree
Showing 3 changed files with 14 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 @@ -132,6 +132,7 @@ class Browser extends AbstractClientParser
'CM' => 'Chrome Mobile',
'CN' => 'CoolNovo',
'CO' => 'CometBird',
'2C' => 'Comfort Browser',
'CB' => 'COS Browser',
'CW' => 'Cornowser',
'C3' => 'Chim Lac',
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 @@ -5196,3 +5196,14 @@
family: Chrome
headers:
x-requested-with: org.mini.freebrowser
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; SM-J710F Build/M1AJQ; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/97.0.4692.98 Mobile Safari/537.36
client:
type: browser
name: Comfort Browser
version: ""
engine: Blink
engine_version: ""
family: Chrome
headers:
x-requested-with: com.anc.web.browser
2 changes: 2 additions & 0 deletions regexes/client/hints/browsers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,5 @@
'com.opera.mini.native': 'Opera Mini'
'com.wSilverMobBrowser': 'SilverMob US'
'org.mini.freebrowser': 'CM Mini'
'com.anc.web.browser': 'Comfort Browser'
'fast.explorer.web.browser': 'Fast Explorer'

0 comments on commit 9428a82

Please sign in to comment.