mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-11-16 15:11:50 +03:00
Backport - Fix #754: Add new Engine: ArkWeb & new OS: OpenHarmony
(cherry picked from commit fe15f115f9)
This commit is contained in:
@@ -734,6 +734,9 @@
|
||||
/windows.+ edge\/([\w\.]+)/i // EdgeHTML
|
||||
], [VERSION, [NAME, EDGE+'HTML']], [
|
||||
|
||||
/(arkweb)\/([\w\.]+)/i // ArkWeb
|
||||
], [NAME, VERSION], [
|
||||
|
||||
/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i // Blink
|
||||
], [VERSION, [NAME, 'Blink']], [
|
||||
|
||||
@@ -772,8 +775,8 @@
|
||||
|
||||
// Mobile OSes
|
||||
/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i // Android-x86/HarmonyOS
|
||||
], [VERSION, NAME], [ // Android/WebOS/QNX/Bada/RIM/Maemo/MeeGo/Sailfish OS
|
||||
/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,
|
||||
], [VERSION, NAME], [ // Android/WebOS/QNX/Bada/RIM/Maemo/MeeGo/Sailfish OS/OpenHarmony
|
||||
/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,
|
||||
/(blackberry)\w*\/([\w\.]*)/i, // Blackberry
|
||||
/(tizen|kaios)[\/ ]([\w\.]+)/i, // Tizen/KaiOS
|
||||
/\((series40);/i // Series 40
|
||||
|
||||
Reference in New Issue
Block a user