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".
| Comment | File | Size | Author |
|---|---|---|---|
| mobile_theme_detectmobilebrowsers_mobi.patch | 736 bytes | hoomanb |
Comments
Comment #1
robloachAwesomesauce!
Comment #2
robloachThanks 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_themeof how to install it. Great find on this library!