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