Add Avast Secure Browser detection

This commit is contained in:
Pavel Studeny 2019-04-10 16:22:15 +02:00
parent 732cf5834e
commit 7d4d9fd476
2 changed files with 13 additions and 0 deletions

View File

@ -270,6 +270,9 @@
/(yabrowser)\/([\w\.]+)/i // Yandex
], [[NAME, 'Yandex'], VERSION], [
/(Avast)\/([\w\.]+)/i // Avast Secure Browser
], [[NAME, 'Avast Secure Browser'], VERSION], [
/(puffin)\/([\w\.]+)/i // Puffin
], [[NAME, 'Puffin'], VERSION], [

View File

@ -79,6 +79,16 @@
"major" : "undefined"
}
},
{
"desc" : "Avast Secure Browser",
"ua" : "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36 Avast/72.0.1174.122",
"expect" :
{
"name" : "Avast Secure Browser",
"version" : "72.0.1174.122",
"major" : "72"
}
},
{
"desc" : "Baidu",
"ua" : "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; baidubrowser 1.x)",