Skip to content

Commit

Permalink
Adds detection for xBrowser
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuconcioiu committed Aug 23, 2022
1 parent e4cc5bd commit a85da2b
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 @@ -519,6 +519,7 @@ class Browser extends AbstractClientParser
'YB' => 'Yolo Browser',
'YO' => 'YouCare',
'YZ' => 'Yuzu Browser',
'XR' => 'xBrowser',
'XB' => 'X Browser Lite',
'X0' => 'X-VPN',
'X1' => 'xBrowser Pro Super Fast',
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 @@ -6944,3 +6944,14 @@
family: Chrome
headers:
http-x-requested-with: com.xvideobrowserlite.xvideoDownloaderbrowserlite
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; SM-T580 Build/M1AJQ) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/95.0.4638.74 Safari/537.36
client:
type: browser
name: xBrowser
version: ""
engine: Blink
engine_version: 95.0.4638.74
family: Chrome
headers:
http-x-requested-with: com.xxnxx.browser.proxy.vpn
1 change: 1 addition & 0 deletions regexes/client/hints/browsers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,4 @@
'com.xnxbrowser.rampage': 'XNX Browser'
'com.xtremecast': 'XtremeCast'
'com.xvideobrowserlite.xvideoDownloaderbrowserlite': 'X Browser Lite'
'com.xxnxx.browser.proxy.vpn': 'xBrowser'

0 comments on commit a85da2b

Please sign in to comment.