Thu 8 Jan 2009
Fake the iPhone User Agent
Posted by craig under Technology, iPhone
Firefox extension User Agent Switcher lets Firefox users change and add new User Agents. I was able to add the iPhone user agent settings using details from TestiPhone.
1) Install User Agent Switcher Firefox extension
2) Add a new User Agent and supply the following information (Tools > User Agent Switcher > Options)
- Description: iPhone
- User Agent: Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en)
- App Name: AppleWebKit/420+ (KHTML, like Gecko)
- App Version: Version/3.0
- Platform: Mobile/1A542a Safari/419.3
3) Set the User Agent to your newly created iPhone option
4) Navigate to a website with an iPhone version and enjoy.
Here are some iPhone-compatible places to get you started:
- SmugMug - early implementer, nice slide effect (looks borrowed from iUI from Joe Hewitt), details here
- Facebook - another attractive implementation, details here from Joe Hewitt
- Media Temple (our web host) Account Center for iPhone (doesn’t work with this method)
- Meebo IM (and Mundu)
- Google Calendar for mobile devices
- Google AJAX Search
- Java developer with Google technology? GWT iPhone example
- Wordpress-based sites with the iWPhone plug-in installed
One Response to “ Fake the iPhone User Agent ”
Comments:
Leave a Reply
You must be logged in to post a comment.

January 13th, 2009 at 10:14 pm
That’s a user agent string for a fairly old version of Mobile Safari, probably one dating to iPhone OS 1.1. The version of Webkit in the current version of Mobile Safari is 525.18.1.