Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds detection for Samsung Browser Lite and various apps and improves detection for various browsers #7453

Merged
merged 25 commits into from
Aug 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
56d08f1
Improves detection for Firefox Mobile
liviuconcioiu Aug 14, 2023
b775700
Improves detection for Mobile Safari
liviuconcioiu Aug 14, 2023
e1abb49
Improves detection for Yandex Browser
liviuconcioiu Aug 14, 2023
a716f19
Improves detection for Opera Mini
liviuconcioiu Aug 14, 2023
a968846
Improves detection for Samsung Browser
liviuconcioiu Aug 14, 2023
de99923
Adds detection for Samsung Browser Lite
liviuconcioiu Aug 14, 2023
68406be
Adds browser fixtures
liviuconcioiu Aug 14, 2023
8b498b1
Improves detection Google Go
liviuconcioiu Aug 14, 2023
9d087b7
Adds detection for SnapTube
liviuconcioiu Aug 14, 2023
fea05fb
Adds detection for Messenger Home
liviuconcioiu Aug 14, 2023
8fd7474
Adds detection for Email Home
liviuconcioiu Aug 14, 2023
90f6c55
Adds detection for Weather Home
liviuconcioiu Aug 14, 2023
6ca6feb
Adds detection for Big Keyboard
liviuconcioiu Aug 14, 2023
72b17df
Adds detection for Messenger Lite
liviuconcioiu Aug 14, 2023
0c79cd8
Adds detection for Fit Home
liviuconcioiu Aug 14, 2023
d402c6c
Adds detection for News Home
liviuconcioiu Aug 14, 2023
ff580b7
Improves detection for Google Search App
liviuconcioiu Aug 14, 2023
0652038
Adds detection for Huawei Quick App Center
liviuconcioiu Aug 14, 2023
c8b5713
Adds detection for HideX
liviuconcioiu Aug 14, 2023
28a2401
Adds detection for Sweep
liviuconcioiu Aug 14, 2023
bf00475
Adds detection for Google Maps
liviuconcioiu Aug 14, 2023
9958669
Merge branch 'master' into browsers1
sgiehl Aug 17, 2023
36aadbb
Remove com.safaribrowser
liviuconcioiu Aug 17, 2023
4a803d6
Fix
liviuconcioiu Aug 17, 2023
a8ac2a7
Merge branch 'master' into browsers1
sanchezzzhak Aug 17, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Parser/Client/Browser.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
55 changes: 55 additions & 0 deletions Tests/Parser/Client/fixtures/browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
252 changes: 252 additions & 0 deletions Tests/fixtures/clienthints-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading
Loading