mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-28 00:18:45 +03:00
Merge pull request #374 from pavelstudeny/master
Add Avast Secure Browser & AVG Secure Browser
This commit is contained in:
commit
411e41afd8
@ -261,6 +261,12 @@
|
|||||||
/(yabrowser)\/([\w\.]+)/i // Yandex
|
/(yabrowser)\/([\w\.]+)/i // Yandex
|
||||||
], [[NAME, 'Yandex'], VERSION], [
|
], [[NAME, 'Yandex'], VERSION], [
|
||||||
|
|
||||||
|
/(Avast)\/([\w\.]+)/i // Avast Secure Browser
|
||||||
|
], [[NAME, 'Avast Secure Browser'], VERSION], [
|
||||||
|
|
||||||
|
/(AVG)\/([\w\.]+)/i // AVG Secure Browser
|
||||||
|
], [[NAME, 'AVG Secure Browser'], VERSION], [
|
||||||
|
|
||||||
/(puffin)\/([\w\.]+)/i // Puffin
|
/(puffin)\/([\w\.]+)/i // Puffin
|
||||||
], [[NAME, 'Puffin'], VERSION], [
|
], [[NAME, 'Puffin'], VERSION], [
|
||||||
|
|
||||||
|
@ -89,6 +89,26 @@
|
|||||||
"major" : "undefined"
|
"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" : "AVG 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 AVG/72.0.719.123",
|
||||||
|
"expect" :
|
||||||
|
{
|
||||||
|
"name" : "AVG Secure Browser",
|
||||||
|
"version" : "72.0.719.123",
|
||||||
|
"major" : "72"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"desc" : "Baidu",
|
"desc" : "Baidu",
|
||||||
"ua" : "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; baidubrowser 1.x)",
|
"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