« Using Safari with Your Computer to Access iPhone Only Sites | Main | AP Mobile News Network webapp: Not so hot »

May 06, 2008

Using Firefox With Your Computer to Access iPhone Sites

Update: This tip is used in the popular "Playboy and Penthouse Free On Your iPhone" article originally broken by iSmashPhone - and stolen by many others :)


The Issue: With a few steps you'll be able to turn your computer's Mozilla Firefox into an iPhone browser. This is similar to our post on turning your computer's Safari browser into an iPhone browser.

Why? To access iPhone only websites with your Firefox browser in order to preview them, or to obtain data from iPhone mobile-web targeted sites.

The Lesson:

1. Open your Mozilla Firefox browser

2. In the URL bar, enter "about:config"

About_config_main_3

3. Right click anywhere on the page, go down to New and over to String

Aboutconfig_new_string

4. You will be prompted to enter the preference name. Enter: general.useragent.override

New_string_value_pref_name

5. You will next be prompted to enter a "string value". Enter: Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420.1 (KHTML, like Gecko) Version/3.0 Mobile/4A102 Safari/419 (United States)

String_value_iphone2_correct

6. Once you have hit OK, you have morphed your Firefox into an iPhone mobile browser! Woo!

Here is a sample of what Google now looks like:

Firefox_google_correct

Associated Press has made an iPhone only website: www.apnews.com

Without this configuration you would not have been able to access this page.

Apnews

To reverse this process and return to regular Firefox mode, you must go back into "about:config".

Then scroll down to the "general.useragent.override" and right click it. Select Reset.

Reverse_firefox_iphone

Your back to regular Firefox.

What says the...

Geek: Feed..me..more..browser..hacks!

Socialite: This will make me look smart.

Soccer Mom: Huh?

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/t/trackback/2992514/28818586

Listed below are links to weblogs that reference Using Firefox With Your Computer to Access iPhone Sites:

» The Best Reason Yet To Buy An iPhone from UtterlyBoring.com
Free access to Playboy and Penthouse magazine (as well as a bunch of other less-adult magazines). You can also get your browser to pretend it's an iPhone to access the... [Read More]

Comments

Call me a nerd or whatever but listen - i love these little hacks - keep em comin!

Im kinda a noob to Firefox..i just started getting into all those cool add-ons..this is definitely pretty sick.

Works great in Mozilla SeaMonkey as well.

Could you put together an .xml file that a user could import into User Agent Switcher that has all this data in it? Then users wouldn't have to go back an reset original data, and then re-enter this info to get back to the iphone-only sites.

Ron - try out this new add on.

https://addons.mozilla.org/en-US/firefox/addon/59

This site has the iphone user agent split into the categories required by user agent switcher firefox add on linked above.

http://paininthetech.com/2007/10/03/fake-iphone-user-agent/

where does user agent switcher come in?

Hi all, I figured out how to get this to work with the User Agent Switcher app.

1. Once you have that installed, go to Tools -> User Agent Switcher -> Options -> Options.

2. Click the User Agents button, then Add.

3. Fill out the fields as
Description: iPhone
User Agent: Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420.1 (KHTML, like Gecko) Version/3.0 Mobile/4A102 Safari/419 (United States)

Click Ok & now you can easily flip back & forth between the default & iPhone options. Hope this helps

anyone know how to do this with pocket internet explorer in winmo6?

you are great
good work man

I followed your instructions and it worked just fine, my problem is the user agent string continues to reactivate after I 'reset' it. I tried hitting the delete key on the string but it won't remove it, how can I permanently remove this string from my about:config? Any help would be very much appreciated, thanks!

Post a comment

Google Search

  • Custom Search

  Copyright © 2008 iSmashPhone.com About   |    Legal/Privacy   |   Feedback   |   Submit Tips