1. essseabass's Avatar
    OK - so I have found a great simple script for detecting an iphone and redirecting - is there an equivalent for all blackberries?

    <script language=javascript>
    <!--
    if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)))

    {
    location.href='linktonewurl';
    }
    -->

    Thanks!
    05-01-09 11:58 AM
  2. Reed McLay's Avatar
    Welcome to CrackBerry.

    I have moved your thread to the developers subfourms, perhaps somebody can help you here.
    05-01-09 12:41 PM
  3. ydaraishy's Avatar
    Yes, detect the Blackberry user agent.

    The Blackberry browser can choose which user agent they wish to present to the server, so keep that in mind.
    05-02-09 09:31 PM
LINK TO POST COPIED TO CLIPBOARD