António P. P. Almeida Wrote:
-------------------------------------------------------
> There's a simpler and more efficient way to do it.
> Instead of
> detecting the mobile browser, do the
> complementary, i.e. detect the
> desktop browser:
>
> https://gist.github.com/1326701
>
> --- appa
I'd like to warn you about that one, it detects bot's like Googlebot also as being an mobile device. My setup does also detect desktop browsers first, as you may or may not have seen. So it's the same setup, but mine has more exclusions to the "desktop" list.
--
Andries Louw Wolthuizen