mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 07:58:45 +03:00
Add Avast Secure Browser detection
This commit is contained in:
parent
732cf5834e
commit
7d4d9fd476
@ -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], [
|
||||
|
||||
|
@ -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)",
|
||||
|
Loading…
x
Reference in New Issue
Block a user