Backport - Fix #678 - Improve Yandex detection

(cherry picked from commit 33f02099d1)
This commit is contained in:
Faisal Salman
2023-03-22 11:18:52 +07:00
parent d41404551f
commit 1747707be6
2 changed files with 11 additions and 1 deletions

View File

@@ -251,7 +251,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 '+BROWSER], VERSION], [