We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f8655ae + 9403281 commit 3d8da4aCopy full SHA for 3d8da4a
lib/Browser.php
@@ -1288,6 +1288,18 @@ protected function checkBrowserFirefox()
1288
$this->setBrowser(self::BROWSER_FIREFOX);
1289
return true;
1290
}
1291
+ } elseif ( preg_match("/FxiOS[\/ \(]([^ ;\)]+)/i", $this->_agent, $matches) ) {
1292
+ $this->setVersion($matches[1]);
1293
+ $this->setBrowser(self::BROWSER_FIREFOX);
1294
+ //Firefox on Android
1295
+ if (stripos($this->_agent, 'Android') !== false) {
1296
+ if (stripos($this->_agent, 'Mobile') !== false) {
1297
+ $this->setMobile(true);
1298
+ } else {
1299
+ $this->setTablet(true);
1300
+ }
1301
1302
+ return true;
1303
1304
return false;
1305
0 commit comments