Skip to content

Commit

Permalink
Remove Aliyun Browser
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuconcioiu committed Feb 7, 2025
1 parent c51de29 commit 5c823bf
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 38 deletions.
5 changes: 2 additions & 3 deletions Parser/Client/Browser.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ class Browser extends AbstractClientParser
'AH' => 'Aloha Browser Lite',
'A8' => 'ALVA',
'9A' => 'AltiBrowser',
'AY' => 'Aliyun Browser',
'AM' => 'Amaya',
'A3' => 'Amaze Browser',
'A5' => 'Amerigo',
Expand Down Expand Up @@ -791,7 +790,7 @@ class Browser extends AbstractClientParser
'NetSurf' => ['NE'],
'Nokia Browser' => ['NB', 'DO', 'NO', 'NV'],
'Opera' => ['OP', 'OG', 'OH', 'OI', 'OM', 'ON', 'OO', 'O1', 'OX', 'Y1'],
'Safari' => ['SF', 'S7', 'MF', 'SO', 'PV', 'AY'],
'Safari' => ['SF', 'S7', 'MF', 'SO', 'PV'],
'Sailfish Browser' => ['SA'],
];

Expand Down Expand Up @@ -824,7 +823,7 @@ class Browser extends AbstractClientParser
'DP', 'KL', 'K4', 'N6', 'KU', 'WK', 'M8', 'UP', 'ZT',
'9P', 'N8', 'VR', 'N9', 'M9', 'F9', '0P', '0A', '2F',
'2M', 'K7', '1N', '8A', 'H7', 'X3', 'X4', '5O', '6I',
'7I', 'X5', '3P', 'AY', '2E',
'7I', 'X5', '3P', '2E',
];

/**
Expand Down
20 changes: 0 additions & 20 deletions Tests/Parser/Client/fixtures/browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10408,15 +10408,6 @@
engine: WebKit
engine_version: ""
family: Safari
-
user_agent: Mozilla/5.0 (Linux; U; YunOs 1.0.0.3; en-; K-Touch W619 Build/AliyunOs-2012) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
client:
type: browser
name: Aliyun Browser
version: ""
engine: WebKit
engine_version: "533.1"
family: Safari
-
user_agent: Mozilla/5.0 (MotorolaWebKit; U; /Windows CE 7.0) AppleWebKit/534.51 (KHTML, like Gecko) Version/2.3.0 Mobile Safari/534.51
client:
Expand Down Expand Up @@ -10462,14 +10453,3 @@
engine: WebKit
engine_version: 605.1.15
family: Safari
-
user_agent: Mozilla/5.0 (Linux; U; AliyunOS 2.0; Android 4.0 Compatible; xx; G9 Build/AliyunOs-2012) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30
client:
type: browser
name: Aliyun Browser
version: ""
engine: WebKit
engine_version: "534.30"
family: Safari
headers:
http-x-requested-with: com.aliyun.mobile.browser
12 changes: 6 additions & 6 deletions Tests/fixtures/smartphone-7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7619,8 +7619,8 @@
platform: ""
client:
type: browser
name: Aliyun Browser
version: ""
name: Mobile Safari
version: "4.0"
engine: WebKit
engine_version: "533.1"
device:
Expand All @@ -7637,7 +7637,7 @@
platform: ""
client:
type: browser
name: Aliyun Browser
name: Android Browser
version: ""
engine: WebKit
engine_version: "533.1"
Expand All @@ -7646,7 +7646,7 @@
brand: K-Touch
model: W658
os_family: Android
browser_family: Safari
browser_family: Android Browser
-
user_agent: Mozilla/5.0 (Linux; U;AliyunOS 1.5.1.18-RT-20120724.182153; zh-cn; K-Touch W688 Build/AliyunOs-2012;Android 2.3 Compatible) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
os:
Expand All @@ -7655,7 +7655,7 @@
platform: ""
client:
type: browser
name: Aliyun Browser
name: Android Browser
version: ""
engine: WebKit
engine_version: "533.1"
Expand All @@ -7664,7 +7664,7 @@
brand: K-Touch
model: W688
os_family: Android
browser_family: Safari
browser_family: Android Browser
-
user_agent: K-Touch W98/java_c_5609c Linux/3.4.5+ Android/4.2.2 Release/JDQ39 Browser/AppleWebKit534.30 Profile/ Configuration/ Mobile Safari/534.30
os:
Expand Down
7 changes: 0 additions & 7 deletions regexes/client/browsers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2654,13 +2654,6 @@
engine:
default: '' # multi engine -- WebKit or Blink

# Aliyun Browser (https://www.alios.cn/)
- regex: '(?:Ali)?YunOS.*Version/.*Mobile.*Safari/'
name: 'Aliyun Browser'
version: ''
engine:
default: 'WebKit'

# Mint Browser
- regex: 'Mint Browser/(\d+[.\d]+)'
name: 'Mint Browser'
Expand Down
1 change: 0 additions & 1 deletion regexes/client/hints/browsers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -324,4 +324,3 @@
'com.cloaktp.browser': 'Privacy Pioneer Browser'
'company.thebrowser.arc': 'Arc Search'
'com.android.webview': 'Chrome Webview'
'com.aliyun.mobile.browser': 'Aliyun Browser'
2 changes: 1 addition & 1 deletion regexes/oss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@
version: ''

##########
# YunOS (Android based), https://www.alios.cn/
# YunOS (Android based)
##########
- regex: 'Android (\d+[.\d]+)-RT'
name: 'YunOS'
Expand Down

0 comments on commit 5c823bf

Please sign in to comment.