Being able to change the user agent would be quite helpful in many instances. The beauty of the iPhone is that it browses standard web pages. But some websites want to be "helpful" by detecting the iphone and then producing a specially formatted page which often dilutes the usefulness of the site. A prime example is Google which automatically goes to a less useful "mobile" page. Another is Bank of America which actually prohibits use of various accounts through its mobile service.
Hi,
Is there any way to change the Iphone's user agent string? Sites like applicationmanager.gov refuse access to Safari users and Iphone refuses installation of other browsers. Could I change the Iphone user agent string to imitate IE, Firefox, or Opera, like a regular desktop user? If so, how?
Thanks.
Or are there any other ways to trick a website into thinking you're not using Safari? Or to install a different browser on the Iphone?
hey... just letting y'all know that I've come up with a beta hack to change the user agent for anyone who is comfortable enough manually editing a couple files.
I know this thread is SUPER old, but I figured out a hack that WORKS. It worked for my anyway, on my jailbroken 2g iPhone on 3.1.3 OS version.
I have the SBsettings toggle for "user agent faker" installed via Cydia. What I did, on my mac, using a program called, "iPhone Explorer" I went to the directory for var<mobile<library<SBsettings<toggles<UAfaker<UAfa ker.plist
simply copy the plist file onto your desktop, and open inside of any text reader. Between the <string> and </string> you will see the user agent for firefox. What you need to do is change the user agent string to any of the compatible ones that applicationmanager.gov specifies (or higher versions of those ones.) I chose to test it with Opera 9.2 for mac. The web site works perfectly on my iPhone now, and I can view the full facebook page AND make comments and send emails. Before, the 'comment' and 'send' buttons would not work when using UAfaker toggle.
You can view a lor more user agent string at this web site: Browser ID Strings (a.k.a. User Agent ID) I persoannly like the one for desktop safari because pages load faster, but wutev's. I hope this helps for you.