diff --git a/Parser/Client/Browser.php b/Parser/Client/Browser.php index 47f5fdbfdf..2f139ae5c3 100644 --- a/Parser/Client/Browser.php +++ b/Parser/Client/Browser.php @@ -435,6 +435,7 @@ class Browser extends AbstractClientParser 'RK' => 'Rekonq', 'RM' => 'RockMelt', 'SB' => 'Samsung Browser', + '3L' => 'Samsung Browser Lite', 'SA' => 'Sailfish Browser', 'S8' => 'Seewo Browser', 'SC' => 'SEMC-Browser', diff --git a/Tests/Parser/Client/fixtures/browser.yml b/Tests/Parser/Client/fixtures/browser.yml index c64775913b..bee12e88bb 100644 --- a/Tests/Parser/Client/fixtures/browser.yml +++ b/Tests/Parser/Client/fixtures/browser.yml @@ -7472,3 +7472,58 @@ family: Chrome headers: http-x-requested-with: com.browsbit +- + user_agent: Mozilla/5.0 (Linux; U; Android 11; en-us; SM-A715F Build/JOP24G) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/68.0.3440.91 Mobile Safari/537.36 + client: + type: browser + name: Firefox Mobile + version: "" + engine: Blink + engine_version: 68.0.3440.91 + family: Firefox + headers: + http-x-requested-with: org.mozilla.firefox +- + user_agent: Mozilla/5.0 (Linux; Android 12; SM-A032F Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/114.0.5735.131 Mobile Safari/537.36 + client: + type: browser + name: Yandex Browser + version: "" + engine: Blink + engine_version: 114.0.5735.131 + family: Chrome + headers: + http-x-requested-with: com.yandex.browser +- + user_agent: Mozilla/5.0 (Linux; U; Android 11; 2201116SG Build/RKQ1.211001.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/94.0.4606.85 Mobile Safari/537.36 OPR/63.0.2254.61370 + client: + type: browser + name: Opera Mini + version: "" + engine: Blink + engine_version: 94.0.4606.85 + family: Opera + headers: + http-x-requested-with: com.opera.mini.native.beta +- + user_agent: Mozilla/5.0 (Linux; U; Android 12; en-us; SM-M426B Build/JOP24G) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/68.0.3440.91 Mobile Safari/537.36 + client: + type: browser + name: Samsung Browser + version: "" + engine: Blink + engine_version: 68.0.3440.91 + family: Chrome + headers: + http-x-requested-with: com.sec.android.app.sbrowser +- + user_agent: Mozilla/5.0 (Linux; Android 12; SAMSUNG SM-A032M Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 SamsungBrowser/7.4 Chrome/111.0.5563.58 Mobile Safari/537.36 + client: + type: browser + name: Samsung Browser Lite + version: "" + engine: Blink + engine_version: 111.0.5563.58 + family: Chrome + headers: + http-x-requested-with: com.sec.android.app.sbrowser.lite diff --git a/Tests/fixtures/clienthints-app.yml b/Tests/fixtures/clienthints-app.yml index a6994188c8..291f974dd7 100644 --- a/Tests/fixtures/clienthints-app.yml +++ b/Tests/fixtures/clienthints-app.yml @@ -1927,3 +1927,255 @@ model: Galaxy A33 5G os_family: Android browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 10; moto e(7i) power Build/QOJS30.506-7-18) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.166 Mobile Safari/537.36 + headers: + http-x-requested-with: com.google.android.apps.searchlite + os: + name: Android + version: "10" + platform: "" + client: + type: mobile app + name: Google Go + version: "" + device: + type: smartphone + brand: Motorola + model: Moto E7i Power + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 12; SM-A115AZ Build/SP1A.210812.016) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/115.0.5790.166 Mobile Safari/537.36 + headers: + http-x-requested-with: com.snaptube.premium + os: + name: Android + version: "12" + platform: "" + client: + type: mobile app + name: SnapTube + version: "" + device: + type: smartphone + brand: Samsung + model: Galaxy A11 + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 10; SM-G960U Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/115.0.5790.166 Mobile Safari/537.36 + headers: + http-x-requested-with: com.myhomescreen.sms + os: + name: Android + version: "10" + platform: "" + client: + type: mobile app + name: Messenger Home + version: "" + device: + type: smartphone + brand: Samsung + model: Galaxy S9 + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 13; SM-A037U Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/106.0.5249.126 Mobile Safari/537.36 + headers: + http-x-requested-with: com.myhomescreen.email + os: + name: Android + version: "13" + platform: "" + client: + type: mobile app + name: Email Home + version: "" + device: + type: smartphone + brand: Samsung + model: Galaxy A03s + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 13; SM-S911U Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/111.0.5563.116 Mobile Safari/537.36 + headers: + http-x-requested-with: com.myhomescreen.weather + os: + name: Android + version: "13" + platform: "" + client: + type: mobile app + name: Weather Home + version: "" + device: + type: smartphone + brand: Samsung + model: Galaxy S23 + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 13; SM-A536U Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/108.0.5359.128 Mobile Safari/537.36 + headers: + http-x-requested-with: com.myhomescreen.access + os: + name: Android + version: "13" + platform: "" + client: + type: mobile app + name: Big Keyboard + version: "" + device: + type: smartphone + brand: Samsung + model: Galaxy A53 5G + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 9; SM-A530W Build/PPR1.180610.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/115.0.5790.166 Mobile Safari/537.36 + headers: + http-x-requested-with: com.myhomescreen.messenger.home.emoji.lite + os: + name: Android + version: "9" + platform: "" + client: + type: mobile app + name: Messenger Lite + version: "" + device: + type: smartphone + brand: Samsung + model: Galaxy A8 (2018) + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 11; SM-A326U Build/RP1A.200720.012; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/100.0.4896.79 Mobile Safari/537.36 + headers: + http-x-requested-with: com.myhomescreen.fitness + os: + name: Android + version: "11" + platform: "" + client: + type: mobile app + name: Fit Home + version: "" + device: + type: smartphone + brand: Samsung + model: Galaxy A32 5G + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 13; SM-S901U1 Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/115.0.5790.138 Mobile Safari/537.36 + headers: + http-x-requested-with: com.myhomescreen.news + os: + name: Android + version: "13" + platform: "" + client: + type: mobile app + name: News Home + version: "" + device: + type: smartphone + brand: Samsung + model: Galaxy S22 + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 9; KFMAWI Build/PS7327.3329N; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/112.0.5615.197 Mobile Safari/537.36 cordova-amazon-fireos/3.4.0 AmazonWebAppPlatform/3.4.0;2.0 + headers: + http-x-requested-with: com.amazon.webapps.gms.search + os: + name: Android + version: "9" + platform: "" + client: + type: mobile app + name: Google Search App + version: "" + device: + type: tablet + brand: Amazon + model: Fire HD 10 (2019) + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 10; BND-AL00) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.116 Mobile Safari/537.36 + headers: + http-x-requested-with: com.huawei.fastapp + os: + name: Android + version: "10" + platform: "" + client: + type: mobile app + name: Huawei Quick App Center + version: "" + device: + type: smartphone + brand: Huawei + model: Honor 7X + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 11; M2006C3LG Build/RP1A.200720.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/94.0.4606.85 Mobile Safari/537.36 appname/HideX appverc/30405011 appname/HideX appverc/30405011 appname/HideX appverc/30405011 appname/HideX appverc/30405011 appname/HideX appverc/30405011 appname/HideX appverc/30405011 + headers: + http-x-requested-with: com.flatfish.cal.privacy + os: + name: Android + version: "11" + platform: "" + client: + type: mobile app + name: HideX + version: "" + device: + type: smartphone + brand: Xiaomi + model: Redmi 9A + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 10; M2006C3LG Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/109.0.5414.117 Mobile Safari/537.36 + headers: + http-x-requested-with: com.sweep.cleaner.trash.junk + os: + name: Android + version: "10" + platform: "" + client: + type: mobile app + name: Sweep + version: "" + device: + type: smartphone + brand: Xiaomi + model: Redmi 9A + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 6.0; BG2-W09 Build/HuaweiBAGGIO2; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/55.0.2883.91 Mobile Safari/537.36 + headers: + http-x-requested-with: com.google.android.apps.maps + os: + name: Android + version: "6.0" + platform: "" + client: + type: mobile app + name: Google Maps + version: "" + device: + type: tablet + brand: Huawei + model: MediaPad T3 7 + os_family: Android + browser_family: Unknown diff --git a/Tests/fixtures/clienthints.yml b/Tests/fixtures/clienthints.yml index a51abd03a8..b3e89aa419 100644 --- a/Tests/fixtures/clienthints.yml +++ b/Tests/fixtures/clienthints.yml @@ -979,3 +979,103 @@ model: "" os_family: Windows browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; U; Android 11; en-us; SM-A715F Build/JOP24G) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/68.0.3440.91 Mobile Safari/537.36 + headers: + http-x-requested-with: org.mozilla.firefox + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: Firefox Mobile + version: "" + engine: Blink + engine_version: 68.0.3440.91 + device: + type: smartphone + brand: Samsung + model: Galaxy A71 + os_family: Android + browser_family: Firefox +- + user_agent: Mozilla/5.0 (Linux; Android 12; SM-A032F Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/114.0.5735.131 Mobile Safari/537.36 + headers: + http-x-requested-with: com.yandex.browser + os: + name: Android + version: "12" + platform: "" + client: + type: browser + name: Yandex Browser + version: "" + engine: Blink + engine_version: 114.0.5735.131 + device: + type: smartphone + brand: Samsung + model: Galaxy A03 Core + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; U; Android 11; 2201116SG Build/RKQ1.211001.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/94.0.4606.85 Mobile Safari/537.36 OPR/63.0.2254.61370 + headers: + http-x-requested-with: com.opera.mini.native.beta + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: Opera Mini + version: "" + engine: Blink + engine_version: 94.0.4606.85 + device: + type: phablet + brand: Xiaomi + model: Redmi Note 11 Pro 5G + os_family: Android + browser_family: Opera +- + user_agent: Mozilla/5.0 (Linux; U; Android 12; en-us; SM-M426B Build/JOP24G) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/68.0.3440.91 Mobile Safari/537.36 + headers: + http-x-requested-with: com.sec.android.app.sbrowser + os: + name: Android + version: "12" + platform: "" + client: + type: browser + name: Samsung Browser + version: "" + engine: Blink + engine_version: 68.0.3440.91 + device: + type: smartphone + brand: Samsung + model: Galaxy M42 5G + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 12; SAMSUNG SM-A032M Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 SamsungBrowser/7.4 Chrome/111.0.5563.58 Mobile Safari/537.36 + headers: + http-x-requested-with: com.sec.android.app.sbrowser.lite + os: + name: Android + version: "12" + platform: "" + client: + type: browser + name: Samsung Browser Lite + version: "" + engine: Blink + engine_version: 111.0.5563.58 + device: + type: smartphone + brand: Samsung + model: Galaxy A03 Core + os_family: Android + browser_family: Chrome diff --git a/regexes/client/hints/apps.yml b/regexes/client/hints/apps.yml index 7dd40fb13d..91b7a2986a 100644 --- a/regexes/client/hints/apps.yml +++ b/regexes/client/hints/apps.yml @@ -99,6 +99,20 @@ 'com.anydesk.anydeskandroid': 'AnyDesk Remote Desktop' 'com.google.android.youtube': 'YouTube' 'io.bluewallet.bluewallet': 'BlueWallet' +'com.google.android.apps.searchlite': 'Google Go' +'com.snaptube.premium': 'SnapTube' +'com.myhomescreen.sms': 'Messenger Home' +'com.myhomescreen.email': 'Email Home' +'com.myhomescreen.weather': 'Weather Home' +'com.myhomescreen.access': 'Big Keyboard' +'com.myhomescreen.messenger.home.emoji.lite': 'Messenger Lite' +'com.myhomescreen.fitness': 'Fit Home' +'com.myhomescreen.news': 'News Home' +'com.amazon.webapps.gms.search': 'Google Search App' +'com.huawei.fastapp': 'Huawei Quick App Center' +'com.flatfish.cal.privacy': 'HideX' +'com.sweep.cleaner.trash.junk': 'Sweep' +'com.google.android.apps.maps': 'Google Maps' # Vpns 'org.torproject.android': 'Orbot' diff --git a/regexes/client/hints/browsers.yml b/regexes/client/hints/browsers.yml index 6b0e2bb1ac..c5fe8f2109 100644 --- a/regexes/client/hints/browsers.yml +++ b/regexes/client/hints/browsers.yml @@ -203,3 +203,8 @@ 'com.tv.browser.open': 'Open TV Browser' 'com.ornet.torbrowser': 'OrNET Browser' 'com.browsbit': 'BrowsBit' +'org.mozilla.firefox': 'Firefox Mobile' +'com.yandex.browser': 'Yandex Browser' +'com.opera.mini.native.beta': 'Opera Mini' +'com.sec.android.app.sbrowser': 'Samsung Browser' +'com.sec.android.app.sbrowser.lite': 'Samsung Browser Lite'