Skip to content

Commit

Permalink
Fixes #85
Browse files Browse the repository at this point in the history
  • Loading branch information
jenssegers committed Mar 12, 2017
1 parent 1687af8 commit 68bef4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Agent.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class Agent extends Mobile_Detect
protected static $additionalBrowsers = [
'Opera' => 'Opera|OPR',
'Edge' => 'Edge',
'UCBrowser' => 'UCBrowser',
'Vivaldi' => 'Vivaldi',
'Chrome' => 'Chrome',
'Firefox' => 'Firefox',
Expand Down
1 change: 1 addition & 0 deletions tests/AgentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class AgentTest extends TestCase
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12' => 'Edge',
'Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25' => 'Safari',
'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 Vivaldi/1.2.490.43' => 'Vivaldi',
'Mozilla/5.0 (Linux; U; Android 4.0.4; en-US; LT28h Build/6.1.E.3.7) AppleWebKit/534.31 (KHTML, like Gecko) UCBrowser/9.2.2.323 U3/0.8.0 Mobile Safari/534.31' => 'UCBrowser',
];

private $robots = [
Expand Down

0 comments on commit 68bef4f

Please sign in to comment.