I normally use the script from http://detectmobilebrowsers.mobi/ to detect mobile browsers on my sites.

Here's a patch to use that script instead of browscap, if you're having trouble installing it, etc.

It's the first ever Drupal patch I submit, so be careful!

Regarding licensing note that while the code is open-sourced the developer is asking commercial sites to "Upgrade".

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

RobLoach’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Status: Fixed » Active

Awesomesauce!

RobLoach’s picture

Status: Active » Fixed

Thanks a lot! http://drupal.org/cvs?commit=496634

I also added a select box to choose which method is used and some instructions in admin/help/mobile_theme of how to install it. Great find on this library!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.