emulate an iPhone with Firefox

Firefox has the ability to spoof the header fields and enable you to be a different browser or operating system. For example, pretending to be an iPhone so you can access iPhone only sites.

Step 1:

Go to Mozilla.org and install the Firefox plugin.

Step 2:

In your browser, go to Tools > Default User Agent > User Agent Switcher > Options. Select New > New User Agent .

Step 3:

In the ‘Description’ field give it a name (ie iPhone 3.0) and in the User Agent Field enter the following:

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)

If you want to use a different mobile phone user agent you can get a list of them here (via Wikipedia).

Advertisements

About Cameron
I'm a final year Computer Science/Information Systems major. Already finished my BA in Politics/Philosophy. I do web and software freelance on the side, while I finish studying. Hoping to be self-employed by the end of my degree, otherwise off into the real-world I go....

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: