Devs: BlackBerry 10 Will Have New User Agent

Devs: BlackBerry 10 Will Have New User Agent

Research In Motion has announced that BlackBerry 10 will utilize its own unique User Agent. The company has been hard at work to make BB10’s browser the best in class for HTML5, CSS3, and WebGL. Here’s the new BB10 User Agent and how RIM describes in a blog post how to use it:

Mozilla/5.0 (BB10; <Device Model>) AppleWebKit/<WebKit Version> (KHTML, like Gecko) Version/<BB Version #> Mobile Safari/<WebKit Version>

Explained

  1. Mozilla/5.0 Mostly customary, historically used to indicate Mozilla compatible browser
  2. BB10 The primary identifier of a BlackBerry 10 device
  3. <Device Model> Device product name
  4. AppleWebKit/<WebKit Version> The WebKit Version number
  5. KHTML, like Gecko The engine WebKit originated from
  6. Version/<BB Version #> The software version number
  7. Mobile Indicates the device is mobile; it may have a small physical screen and potentially limited bandwidth
  8. Safari/<WebKit Version> Mostly customary, historically used to indicate Safari-compatible browser

What has changed?

  1. Many websites are filtering on the word “BlackBerry” and providing our very capable browser with the most basic of mobile web pages, while rich content is being pushed to our competitors. To avoid this pitfall, we removed the word “BlackBerry” from our user agent and replaced it with “BB10”. This change will require web administrators to add this new identifier to their user agent detecting scripts
  2. We cleaned up the user agent string by removing both the locale (e.g. “en-US”) and the strong encryption indicator (e.g. “U”) [don’t worry, we still support strong encryption]

Suggested Identification Pattern

  • BlackBerry10 Smartphone: 'BB10' + 'Mobile'

Example: htaccess file

RewriteEngine On

RewriteCond %{HTTP_USER_AGENT} BB10.+Mobile 
RewriteRule ^$    http://www.yourawesomesite.com/mobile [L]
Click to add a comment

Be the First to Comment!


 

@UberLucas

Founder of N4BB.com for the latest in mobile and tech news, leaks, reviews, videos, and much more.


More in

0023ae606c3e1419eab00c

Huawei Is Now World’s Third Largest Handset Vendor

Stefany BaezJul 30, 2015
samsung-china

Samsung Will Allow Chinese Users to Remove Pre-loaded Apps

Stefany BaezJul 30, 2015
Angry-Birds-2-–-Gameplay-Teaser-1

Angry Birds 2 for Android Now Available

Lucas AtkinsJul 30, 2015
St.-Landry-Crime-Stoppers-looking-for-thief-who-broke-into-Stellys-Supermarket

‘Cheeseburger, with fries and coke’ Crime Stoppers Video Leads to Coca-Cola Plug Conspiracy

Lucas AtkinsJul 29, 2015
security

Google Adding New Security Warning Notifications on Android

Stefany BaezJul 29, 2015
jamestown1

Early American Leaders’ Bones Identified at Jamestown Site

Lucas AtkinsJul 29, 2015
aurora-brown-dwarf

Astronomers Find Auroras Beyond Our Solar System

Lucas AtkinsJul 29, 2015
volkswagen_logo_by_coldf

Volkswagens with Android Auto and Apple CarPlay Arriving in Showrooms this Week

Lucas AtkinsJul 29, 2015
drake-All-Me-Song-Leaked-By-leakSquadLive.com_

Drake Releases ‘Back to Back’ Meek Mill Diss

Lucas AtkinsJul 29, 2015