Adding support for Puffin browser

This commit is contained in:
Dario Vladovic
2017-03-21 18:41:51 +01:00
parent 2bc75f10bc
commit 7a68f35574
4 changed files with 16 additions and 3 deletions

View File

@@ -83,7 +83,7 @@
rgx : function (ua, arrays) {
//var result = {},
//var result = {},
var i = 0, j, k, p, q, matches, match;//, args = arguments;
/*// construct object barebones
@@ -267,6 +267,9 @@
/(yabrowser)\/([\w\.]+)/i // Yandex
], [[NAME, 'Yandex'], VERSION], [
/(puffin)\/([\w\.]+)/i // Puffin
], [[NAME, 'Puffin'], VERSION], [
/(uc\s?browser)[\/\s]?([\w\.]+)/i,
/ucweb.+(ucbrowser)[\/\s]?([\w\.]+)/i,
/juc.+(ucweb)[\/\s]?([\w\.]+)/i,