1. pissoffyoubugga's Avatar
    Here is the userAgent detection code for the blackberry:

    if((navigator.userAgent.match(/blackberry.*/)))
    {
    location.replace("insertmobilesiteaddresshere");
    }
    10-08-09 04:08 PM
  2. pissoffyoubugga's Avatar
    Iphone/Ipod as well:

    (navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))
    10-08-09 04:09 PM
  3. pissoffyoubugga's Avatar
    But does anyone have the palm, google phone..? or better yet one single code for all phones that can't read flash?
    10-08-09 04:10 PM
  4. JSClark's Avatar
    What does this code do?
    Where do you put this?

    Posted from my CrackBerry at wapforums.crackberry.com
    10-08-09 04:18 PM
  5. t_d_harvey31's Avatar
    Can we get a little more explanation as to what this does?
    10-09-09 08:43 AM
LINK TO POST COPIED TO CLIPBOARD