i’m making some iPhone WAP designs and needed to see how they’d look without actually buying an iPhone (
another one, that is). i’m using the user agent of the iPhone to switch the layout designs.there’s
iPhoney for the Mac, but i got moved to a PC recently, so it’s a little trickier. there’s
iPhonetester.com, but it passes my firefox user agent and the site won’t switch. so here’s the workaround:
- open Firefox
- install this add-on: https://addons.mozilla.org/en-US/firefox/addon/59
- add this user agent: 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
- switch to this user agent, and view your website (either in Firefox to view full screen, or browser to iPhonetester.com to view in a iPhone mask)