Thursday, October 8, 2009

Pretending to be be an iPhone on OSX

Its well known that you can spoof or if you prefer, to willfully change, your browser's User Agent to pretend to be a different browser. All those internet banking web sites like you to use IE7 but you prefer Opera 10, or Firefox or Safari? Simple change your User Agent and you've got a fighting chance.

Here's how to pretend to be an iPhone. Why would I do this? Well its rather fast when the web site doesn't send all the undisplayable stuff down to you.




Also you can test the new html 5 gmail interface.


In Firefox you can download a plugin and after a restart iPhone is one of the defaults.




In Camino you can download the User Agent plugin which you have to manually place in

~/library/application support/camino/preferencepanes

Restart Camino and you get an extra tab in the preferences window


Add the following text and you are good to go. For some reason I was not able to 'add to presets'.

Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543 Safari/419.3

No comments: