I’m sure this gets asked a lot, but I also know things change quite frequently, so I am wondering what the current best way to do a simple mobile detection and redirection for a site is.
I’m not going to be able to cover all phones, but I’d like to at least get iphones and androids.
Thanks
then on the body-tag put onload=”checkBrowser();”
it’s a very simple way to do it, but i’m sure there plenty more ways..
hope it helps 🙂