Fix #678 - Improve Yandex detection

This commit is contained in:
Faisal Salman
2023-03-22 11:18:52 +07:00
parent 33df5dc698
commit 33f02099d1
2 changed files with 11 additions and 1 deletions

View File

@@ -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], [