X-Git-Url: https://git-public.kairo.at/?p=php-utility-classes.git;a=blobdiff_plain;f=include%2Fclasses%2Fuseragent.php-class;h=22dc491be76ab42239daa637314fdd145878796a;hp=a70915de827d03b4f726f544e2a425e8c253d92e;hb=38123d976bdb3a8fa30dbe5341e52eb6f96d61d6;hpb=319cfe8ded10f8195a5cf91fbe2b5951da15d745 diff --git a/include/classes/useragent.php-class b/include/classes/useragent.php-class index a70915d..22dc491 100755 --- a/include/classes/useragent.php-class +++ b/include/classes/useragent.php-class @@ -410,6 +410,12 @@ class userAgent { $this->bot = true; $this->mobile = true; } + elseif (preg_match('|FxiOS/([0-9a-zA-Z\.+]+)|', $this->uastring, $regs)) { + $this->brand = 'Firefox for iOS'; + $this->version = $regs[1]; + $this->bot = false; + $this->mobile = true; + } elseif (preg_match('|Safari/([0-9a-zA-Z\.+]+)|', $this->uastring, $regs)) { if (preg_match('| Mobile(/[0-9a-zA-Z\.+]+)? ?Safari/|', $this->uastring)) { $this->brand = 'Mobile Safari';