mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-11-17 07:31:51 +03:00
Improve Microsoft Edge detection
This commit is contained in:
@@ -261,7 +261,7 @@
|
||||
/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i // IE11
|
||||
], [[NAME, 'IE'], VERSION], [
|
||||
|
||||
/(edge|edgios|edgea|edga)\/((\d+)?[\w\.]+)/i // Microsoft Edge
|
||||
/(edge|edgios|edga)\/((\d+)?[\w\.]+)/i // Microsoft Edge
|
||||
], [[NAME, 'Edge'], VERSION], [
|
||||
|
||||
/(yabrowser)\/([\w\.]+)/i // Yandex
|
||||
|
||||
Reference in New Issue
Block a user