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.
1 parent f8655ae commit 9403281Copy full SHA for 9403281
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