How to: Fake the iPhone User AgentPosted by Andy Atkinson on October 3, 2007 | Post type: Gain OS X users can install iPhoney or another desktop application to test iPhone compatible websites and applications. The application sets the user agent so the iPhone-specific version of a site or application can be displayed instead of the traditional theme. Web-based versions TestiPhone and iPhone Tester do not support zooming as of this writing, and neither will fake the iPhone user agent. Fortunately 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)
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:
Now that the user agent can be easily toggled between iPhone and default, use a web-based testing site like TestiPhone to flip back and forth between the normal and iPhone-optimized version. About the author(s)Andy started Pain in the Tech in 2005 as a way to share tips and tutorials with friends and family, and evangelize great products and services. By 2008, Pain in the Tech had 7 contributors, thousands of daily page views. Site ownership was transitioned to Matt Thommes in 2008. Comments
|
Quick Link to this postTTIP.me/2039 |
There is TypePad version for the iphone (http://i.typepad.com) and one for Movable Type too:
http://plugins.movabletype.org/imt/
Quick Link to this comment: http://TTIP.me/c4613