Improve Microsoft Edge detection

This commit is contained in:
Dario Vladovic 2018-09-16 12:19:47 +02:00
parent 01eab85f7d
commit bf79eabecc
No known key found for this signature in database
GPG Key ID: 87F43AAF74B61286

View File

@ -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