PHP/mdetect.php
function DetectBlackBerryHigh()
   {
      //Disambiguate for BlackBerry OS 6 or 7 (WebKit) browser
      if ($this->DetectBlackBerryWebKit() == $this->true)
         return $this->false; 
      if ($this->DetectBlackBerry() == $this->true)
      {
          if (($this->DetectBlackBerryTouch() == $this->true) ||
            stripos($this->useragent, $this->deviceBBBold) > -1 ||
            stripos($this->useragent, $this->deviceBBTour) > -1 ||
            stripos($this->useragent, $this->deviceBBCurve) > -1)
          {
             return $this->true; 
          }
          else
            return $this->false; 
      }
      else
        return $this->false; 
   }
function DetectBlackBerryHigh()
   {
      //Disambiguate for BlackBerry OS 6 or 7 (WebKit) browser
      if ($this->DetectBlackBerryWebKit() == $this->true)
         return $this->false; 
      if ($this->DetectBlackBerry() == $this->true)
      {
          if (($this->DetectBlackBerryTouch() == $this->true) ||
            stripos($this->useragent, $this->deviceBBBold) > -1 ||
            stripos($this->useragent, $this->deviceBBTour) > -1 ||
            stripos($this->useragent, $this->deviceBBCurve) > -1)
          {
             return $this->true; 
          }
          else
            return $this->false; 
      }
      else
        return $this->false; 
   }
function DetectBlackBerryHigh ( ) { //Disambiguate for BlackBerry OS 6 or 7 (WebKit) browser
 if ( $ this -> DetectBlackBerryWebKit ( ) == $ this -> true ) return $ this -> false ; if ( $ this -> DetectBlackBerry ( ) == $ this -> true ) { if ( ( $ this -> DetectBlackBerryTouch ( ) == $ this -> true ) || stripos ( $ this -> useragent , $ this -> deviceBBBold ) > - 1 || stripos ( $ this -> useragent , $ this -> deviceBBTour ) > - 1 || stripos ( $ this -> useragent , $ this -> deviceBBCurve ) > - 1 ) { return $ this -> true ; } else return $ this -> false ; } else return $ this -> false ; }
Excludes the new BlackBerry OS 6 and 7 browser!!
Excludes the new BlackBerry OS 6 and 7 browser!!