mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-11-16 15:11:50 +03:00
Merge pull request #334 from vladimyr/develop
Detect Firefox Focus & Opera Touch
This commit is contained in:
@@ -261,7 +261,7 @@
|
||||
/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i // IE11
|
||||
], [[NAME, 'IE'], VERSION], [
|
||||
|
||||
/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i // Microsoft Edge
|
||||
/(edge|edgios|edga)\/((\d+)?[\w\.]+)/i // Microsoft Edge
|
||||
], [[NAME, 'Edge'], VERSION], [
|
||||
|
||||
/(yabrowser)\/([\w\.]+)/i // Yandex
|
||||
@@ -270,8 +270,13 @@
|
||||
/(puffin)\/([\w\.]+)/i // Puffin
|
||||
], [[NAME, 'Puffin'], VERSION], [
|
||||
|
||||
/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i
|
||||
// UCBrowser
|
||||
/(focus)\/([\w\.]+)/i // Firefox Focus
|
||||
], [[NAME, 'Firefox Focus'], VERSION], [
|
||||
|
||||
/(opt)\/([\w\.]+)/i // Opera Touch
|
||||
], [[NAME, 'Opera Touch'], VERSION], [
|
||||
|
||||
/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i // UCBrowser
|
||||
], [[NAME, 'UCBrowser'], VERSION], [
|
||||
|
||||
/(comodo_dragon)\/([\w\.]+)/i // Comodo Dragon
|
||||
|
||||
Reference in New Issue
Block a user