{"id":6775,"date":"2010-03-31T09:12:39","date_gmt":"2010-03-31T16:12:39","guid":{"rendered":"http:\/\/wapreview.com\/?p=6775"},"modified":"2010-03-31T09:12:39","modified_gmt":"2010-03-31T16:12:39","slug":"how-to-change-the-bolt-browsers-user-agent","status":"publish","type":"post","link":"https:\/\/wapreview.com\/6775\/","title":{"rendered":"How to Change the Bolt Browser’s User Agent"},"content":{"rendered":"

\"Bolt<\/p>\n

A lot of people seem to want to change their mobile browser’s User Agent header. The subject comes up all the time on the Opera Mini MyOpera forum<\/a>.\u00a0 The complaint is always the same, some web site is redirecting Opera Mini users to a limited mobile version of the site when the user wants the full site.\u00a0 This happens because every browser sends a User Agent header which identifies it. Web developers often use the User Agent to direct browsers to what the developer believes is the most appropriate version of the site’s content. Well designed sites offer a Full Site<\/em> link on their mobile pages to allow users to override the browser detection if desired but many sites do not.<\/p>\n

You can see your browser’s User Agent by visiting ua.yeswap.com<\/a>.\u00a0 Bolt 2.0’s normal User Agent is:<\/p>\n

Mozilla\/5.0 (Windows; U; Windows NT 5.1; en-US; BOLT\/2.001) AppleWebKit\/530+ (KHTML, like Gecko) Version\/4.0 Safari\/530.17<\/em><\/p>\n

While their isn’t any way to change Opera Mini’s user agent, it quite easy to change Bolt’s.\u00a0 If you want to impersonate a desktop browser like Firefox, for example,\u00a0 download Bolt to your PC using that browser.\u00a0 To download Bolt with a PC you have to\u00a0 visit boltbrowser.com\/betadownload.html<\/a> and fill out a web form that asks for your name and email address. As soon as you submit the form you should get an email containing download links for all the various signed and unsigned versions of Bolt.\u00a0 Download any version of Bolt and side-load it on your phone using your something like Nokia’s PC Suite or Bluetooth.\u00a0 When you need to have Bolt impersonate Firefox, go into Bolt’s Preference menu and select “Mobile Layout”<\/p>\n

This works because when you download Bolt, the User Agent of the browser you use for downloading gets stored in the Bolt jad file.\u00a0 Normally Bolt is downloaded with a phone browser so its\u00a0 user agent is stored in the jad. When you switch to Mobile Layout Bolt uses the User Agent in the jad file instead of its own which makes requests coming from Bolt look like they came from the native phone browser.<\/p>\n

If you want to impersonate a different browser, edit the jad file on your PC and change the last line which starts with “BOLT-UA: “.\u00a0 When I downloaded Bolt with Firefox the last line of the jad file was:<\/p>\n

BOLT-UA: Mozilla\/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.2) Gecko\/20100316 Firefox\/3.6.2 GTB6<\/em><\/p>\n

Changing it to:<\/p>\n

BOLT-UA: Mozilla\/5.0 (iPhone; U; CPU iPhone OS 3_0_1 like Mac OS X; en-us) AppleWebKit\/528.18 (KHTML, like Gecko) Version\/4.0 Mobile\/7A400 Safari\/528.16<\/em><\/p>\n

causes Bolt to impersonate an iPhone when Mobile Layout is selected.\u00a0 With the iPhone User Agent sites will give you their iPhone version instead of the desktop or mobile one. This is a fun hack that sounds cooler than it actually is because most iPhone sites don’t look or work all that great with Bolt. The screenshot above shows Bolt reporting the iPhone User Agent at ua.yeswap.com<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"

A lot of people seem to want to change their mobile browser’s User Agent header. The subject comes up all the time on the Opera Mini MyOpera forum.\u00a0 The complaint is always the same, some web site is redirecting Opera Mini users to a limited mobile version of the site when the user wants the full site.\u00a0 This happens because every browser sends a User Agent header which identifies it. Web developers often use the User Agent to direct browsers … Continue reading →<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":14623,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[38],"tags":[711,204,1058],"_links":{"self":[{"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/posts\/6775"}],"collection":[{"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/comments?post=6775"}],"version-history":[{"count":5,"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/posts\/6775\/revisions"}],"predecessor-version":[{"id":6780,"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/posts\/6775\/revisions\/6780"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/media\/14623"}],"wp:attachment":[{"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/media?parent=6775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/categories?post=6775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wapreview.com\/wp-json\/wp\/v2\/tags?post=6775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}