Skip to content

Commit

Permalink
Adds detection for Xooloo Internet
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuconcioiu committed Jul 7, 2022
1 parent aca051f commit 6fa661c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Parser/Client/Browser.php
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ class Browser extends AbstractClientParser
'YO' => 'YouCare',
'XS' => 'xStand',
'XI' => 'Xiino',
'XO' => 'Xooloo Internet',
'XV' => 'Xvast',
'ZE' => 'Zetakey',
'ZV' => 'Zvu',
Expand Down Expand Up @@ -528,6 +529,7 @@ class Browser extends AbstractClientParser
'2S', 'RF', 'LR', 'SQ', 'BV', 'L1', 'F0', 'KS', 'V0',
'C8', 'AZ', 'MM', 'BT', 'N0', 'P0', 'F3', 'VS', 'DU',
'D0', 'P1', 'O4', '8S', 'H3', 'TE', 'WB', 'K1', 'P2',
'XO',
],
'Firefox' => [
'AX', 'BI', 'BF', 'BH', 'BN', 'C0', 'CU', 'EI', 'F1',
Expand Down Expand Up @@ -562,7 +564,7 @@ class Browser extends AbstractClientParser
'YO', 'PK', 'MR', 'AP', 'AK', 'UI', 'SD', 'VN', '4S',
'RF', 'LR', 'SQ', 'BV', 'L1', 'F0', 'KS', 'V0', 'C8',
'AZ', 'MM', 'BT', 'N0', 'P0', 'F3', 'DU', 'D0', 'P1',
'O4',
'O4', 'XO',
];

/**
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 @@ -6108,3 +6108,14 @@
family: Chrome
headers:
x-requested-with: acr.browser.Hexa
-
user_agent: Mozilla/5.0 (Linux; Android 11; SM-A505FN Build/RP1A.200720.012; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/102.0.5005.125 Mobile Safari/537.36
client:
type: browser
name: Xooloo Internet
version: ""
engine: Blink
engine_version: 102.0.5005.125
family: Chrome
headers:
http-x-requested-with: com.xooloo.internet
1 change: 1 addition & 0 deletions regexes/client/hints/browsers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,4 @@
'net.pertiller.debuggablebrowser': 'Debuggable Browser'
'com.appssppa.idesktoppcbrowser': 'iDesktop PC Browser'
'pi.browser': 'Pi Browser'
'com.xooloo.internet': 'Xooloo Internet'

0 comments on commit 6fa661c

Please sign in to comment.