Override your TouchPad's browser User Agent | webOS Nation
 
 

Override your TouchPad's browser User Agent 16

by Adam Marks Mon, 28 Jan 2013 3:34 pm EST

Browser redirect for iPad agent

This tip is only for the HP TouchPad

When you are browsing the web--be it at a computer, mobile phone, tablet or whatever--certain websites will look at that device's "user agent" to determine which version of their website to display. Just as the webOS App Catalog will check to see if you are on a webOS phone or a TouchPad when downloading an app to determine if it should give you the phone or tablet version, a website may display different versions for different devices. That is the reason why a "mobile" version of a site will be shown on your Pre3 while a much more complex version of the same site will display when browsing on your computer.

With the popularity of tablets (like your HP TouchPad), there is now a new category of devices that may not be able to handle the full desktop version of a website, but can clearly do more than just the mobile version. In addition, with the enormous market penetration of the non-Adobe Flash supported iPad, many websites have created iPad specific versions of their sites that are perfectly optimized for tablets, but will never be displayed on your TouchPad because its user agent indicates that it is not an iPad. Not to mention that many websites don't know to check for a device that was cancelled 18 months ago, even though it could fully support those tablet-optimized sites.

While most websites will display just fine on your TouchPad, as is, you now have a way to easily update your devices "user agent" to make it masquerade as an iPad, a desktop Chrome browser, or a desktop Firefox browser instead of a webOS 3.0.5 HP TouchPad. All you need to do is load up Preware and install one of the three User Agent Override patches by homebrew developer Garrett92c and then reboot your device.  The next time your load up the web browser on your TouchPad, you may notice a different version of your favorite websites, although don't be surprised if the many of the sites you visit still look the exact same. Note that if nothing looks different, you may need to open and close your web browser one time for the change to take affect.

Unfortunately, just because you may access sites that are better optimized for your viewing pleasure with one of these user agent override patches, some unexpected behavior may also occur that detracts from your experience. For example, if you have iPad override patch installed and try to load up mlb.com's MLB.TV or its Gameday pitch-by-pitch that works just fine on your stock TouchPad browser, you get redirected to a page with a link to the MLB At Bat app in the Apple App Store (see screenshot above). Or if you go to the Flash-based speedtest.net site, you get a "Cannot open MIME type" error because it's trying to load up the Speedtest app in the App Store (which obviously does not exist on your device). Unfortunately, the only way to access these sites after you have one of these patches installed is to go back into Preware, remove the patch and then re-load up that site. The good piece of news is that even though the iPad does not support Adobe Flash, if you can get to a site on your TouchPad with Flash content, it should still run just fine even with the iPad override patch installed.

Give these user agent override patches a shot and decide for yourself if they enhance your browser experience or takes away from it.
 

5
Your rating: None Average: 5 (2 votes)

16 Comments

I noticed that my TP doesn't get Amazon Instant Video movies or Crackle movies any longer. Will disguising my TP as an iPad or other device help?

Seems like this would be a good setting to put into Tweaks, so the user can easily change it on the fly. One patch, select which user agent you want in Tweaks.

I asked Garrett about this and apparently this isn't as easy as you would expect. 

Remember the file being changed isn't a JavaScript file, and therefore can't use Tweaks services. An alternative would be to install a watcher service that would update and restart Luna when the user agent's changed through it.

Not that anyone's counting, but I kinda want my WebOS device to come up as a WebOS device. I don't really want it to show up as another iDevice.

Totally Agree

I have one of the old school traditional tablets. It's one of the most useless things ever thought up since the touch interface is rarely used and the damn notebook is like a brick .
los angeles wedding cinematography

My girlfriend has trouble with the phoenix school website forum. Maybe this patch can fix it

MLB.TV did not work on the touchpad for the 2012 season. If it worked for Adam he had a magic touhpad because for me and a lot of others on the Forums we would be blocked with a "MLB.TV is not supported on the touchpad message".

I have an iPad now and it blows the Touchpad out of the water as far as functionality goes. I miss the gestures of the touchpad, even though there are a few helpful gestures for the ipad, it's nowhere near as awesome at TP was. I am also looking forward to MLB.TV working again.

I don't have MLB.TV, so not sure if it does or does not work on the TouchPad, but I do know that Gameday would work just fine.

So, you may want to try the Firefox or Chrome agent to see if it will work next year

Ugh, why do web designers use the "user agent" and not the screen size??

Weird that none of these patches are showing in Preware for me now.

The BBC recently broke iPlayer on the Touchpad because they recognised it as a tablet but not one that was capable using their player. With the user agent set to iPad it works again!. Result!

Fantastic!
I just downloaded the "Firefox" patch and now I can watch BBC iPlayer and videos on the BBC website, via WebOS. Previously I would have to reboot my TP into the Android mode. Long Live WebOS. Cheers :)

The article really great!Franchising businesses helps tiny to medium scale entrepreneurs grow inside a tiny low amount, and this is often integrally connected to the expansion within the economic sector of a specific country. If you're fascinated by a business for sale venture that helps you arise within the society, shopping for franchise could be a viable possibility.

Offsite backup data backup data backup data than other popular and traditional ways of strong practical, efficient, and accurate. Today, the business and between businesses or organizations that more and more winrar for mac to patronize this kind of data backup.