Skip to content

Instantly share code, notes, and snippets.

@ryonlife
Created August 19, 2009 16:48
Show Gist options
  • Save ryonlife/170455 to your computer and use it in GitHub Desktop.
Save ryonlife/170455 to your computer and use it in GitHub Desktop.
Chris Pederick wrote the excellent User Agent Switcher extension for Firefox. The included iPhone user agent differs from an actual iPhone (more than just version number). Import this XML file from the extensions preferences dialog to use the correct iPho
<useragentswitcher><useragent description="iPhone 3.0.1" useragent="Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0_1 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A400 Safari/528.16" appcodename="Mozilla" appname="Netscape" appversion="5.0 (iPhone; U; CPU iPhone OS 3_0_1 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A400 Safari/528.16" platform="iPhone" vendor="Apple Computer, Inc." vendorsub=""/></useragentswitcher>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment