1. SneakyMind's Avatar
    Hi
    I was just wondering if it is possible to change browser user agent. As I would like to see iphone version of some sites. For eg. Google.com/news is different for iPhone that what it displays on Z10

    Posted using CrackBerry App on BB10
    02-11-13 01:52 AM
  2. Bla1ze's Avatar
    Not really, you can only go from mobile to forcing desktop version.
    02-11-13 02:36 AM
  3. tharrison4815's Avatar
    Not with the in inbuilt browser. You could get an Android port browser from BlackBerry World which would give you the ability, such as boat browser.

    Android port browsers tend to be a pretty poor experience though.

    Posted using CrackBerry App on BB10
    02-11-13 04:54 AM
  4. big bb's Avatar
    Or you could create an app and set the user agent
    https://developer.blackberry.com/cas...bsettings.html
    Attached Thumbnails Is it possible to change Browser's USER agent?-useragent.png  
    higherdestiny likes this.
    02-11-13 08:39 AM
  5. higherdestiny's Avatar
    Legend! Thanks for that!!

    you can also do it for HTML5 WebWorks

    widget element - HTML5/WebWorks for BB10 - BlackBerry Developer

    <widget xmlns="http://www.w3.org/ns/widgets"
    xmlns:rim="http://www.blackberry.com/ns/widgets"
    version="string"
    id="string"
    xml:lang="string"
    rim:header="string"
    rim:userAgent="string">
    </widget>


    Basically specify the userAgent in order to spoof another browser. In my case, I used

    Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_2 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8H7 Safari/6533.18.5

    To spoof an iPhone4.

    My whole config.xml looks like this:

    <?xml version="1.0" encoding="UTF-8"?>

    <widget xmlns="http://www.w3.org/ns/widgets"
    xmlns:rim="http://www.blackberry.com/ns/widgets"
    version="1.0.0.10" id="TheViewer"
    rim:userAgent="Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_2 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8H7 Safari/6533.18.5">

    <rim:loadingScreen backgroundColor="#AAA000" onLocalPageLoad="true">
    <rim:transitionEffect type="zoomIn" />
    </rim:loadingScreen>

    <feature id="blackberry.ui.dialog" required="true" version="1.0.0.10"/>
    <feature id="enable-flash"/>



    <rim:splash src="splash.PNG" />

    <name>The Viewer Mobile</name>
    <author>MY ORGANISATION</author>
    <description>The Viewer Mobile</description>
    <icon src="images\icon.png"/>
    <access subdomains="true" uri="http://10.11.111.42"/>
    <content src="http://10.11.111.42:8001/User/Login"/>
    </widget>
    10-14-13 09:07 PM
  6. SharonRD's Avatar
    You can change your user agent with the Evolution Browser, I gather.

    http://appworld.blackberry.com/webst...ntent/32179888

    Posted via CB10 on my sexy Q10
    10-14-13 09:47 PM

Similar Threads

  1. Is it possible to change the default web browser?
    By Judson50 in forum BlackBerry OS
    Replies: 0
    Last Post: 07-31-11, 04:22 PM
  2. Is it possible to change my default browser?
    By SolezOnFroze in forum BlackBerry Curve Series
    Replies: 4
    Last Post: 06-30-09, 10:33 AM
  3. Replies: 1
    Last Post: 01-04-09, 08:52 AM
  4. is it possible to change icons?
    By joegoblyn in forum BlackBerry Curve Series
    Replies: 8
    Last Post: 03-06-08, 08:18 PM
  5. Is it possible to change the trackball color for 8300?
    By h0p3 in forum BlackBerry Curve Series
    Replies: 12
    Last Post: 01-05-08, 11:43 AM
LINK TO POST COPIED TO CLIPBOARD