mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-28 00:18:45 +03:00
Adding WIndows 10 IE regex
IE 12 for windows 10 uses gets caught as chrome: https://msdn.microsoft.com/en-us/library/ie/hh869301%28v=vs.85%29.aspx Now we search for Edge and mark it as IE
This commit is contained in:
parent
b00b2a7bcf
commit
c7749b3a2a
@ -254,6 +254,7 @@
|
|||||||
], [NAME, VERSION], [
|
], [NAME, VERSION], [
|
||||||
|
|
||||||
/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i // IE11
|
/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i // IE11
|
||||||
|
/(Edge)\/((\d+)?[\w\.]+)/i // IE12
|
||||||
], [[NAME, 'IE'], VERSION], [
|
], [[NAME, 'IE'], VERSION], [
|
||||||
|
|
||||||
/(yabrowser)\/([\w\.]+)/i // Yandex
|
/(yabrowser)\/([\w\.]+)/i // Yandex
|
||||||
|
Loading…
x
Reference in New Issue
Block a user