mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-11-15 22:52:16 +03:00
Fix #678 - Improve Yandex detection
This commit is contained in:
@@ -319,7 +319,7 @@
|
||||
], [VERSION, [NAME, 'Konqueror']], [
|
||||
/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i // IE11
|
||||
], [VERSION, [NAME, 'IE']], [
|
||||
/yabrowser\/([\w\.]+)/i // Yandex
|
||||
/ya(?:search)?browser\/([\w\.]+)/i // Yandex
|
||||
], [VERSION, [NAME, 'Yandex']], [
|
||||
/(avast|avg)\/([\w\.]+)/i // Avast/AVG Secure Browser
|
||||
], [[NAME, /(.+)/, '$1 Secure '+SUFFIX_BROWSER], VERSION], [
|
||||
|
||||
Reference in New Issue
Block a user