title: Blackberry. Discover if it is being used and what version
body: <p>I have a mobile app I am creating with JQuery Mobile. When a blackberry is not being used I will send the user from a regular html page, to a page using JQuery Mobile (because of bb comparability issues) </p>
  
  <p>This is how I do so:</p>
  
  <pre><code>    //Loads correct page for everything but blackberry
      if (!(/blackberry/i.test(navigator.userAgent))) {
          //Send to mobile page (for Droid and iPhone)
          window.location = "Mobile.htm";
      }
  </code></pre>
  
  <p>Which works fine, but I know that there are blackberries that can work with the most stable JQuery mobile release (platform 6+). Could I be able to add another condition to my if statement to detect that? The JQuery mobile pages look a lot nicer and if the BB platform 6 phones can use them, then I want them to.</p>