View Mobile Websites in Firefox

16Sep11

Chris Pederick has created an extremely useful Firefox addon: User Agent Switcher.

Switching the user agent of your desktop browser to that of a mobile device encourages the web server to serve you the mobile version of the site (if it exists). Using Firebug, it is then possible to inspect the code of the mobile site, very handy if you’re wondering how it was done.

The User Agent Switcher comes with some user agents already included, but you can easily add your own!

Google for your user agent string like this: “user agent string for HTC Desire” or visit zytrax.com and copy the string.

Go to the User Agent Switcher > Edit User Agents… > New > New User Agent… Add the name of the handset in the Description field, then paste the string into the field below. As far as I can tell, you can leave the other fields empty. “OK” this, then chose your user agent from the drop down list from the tool bar and F5 and then POW!

Here is ebay.co.uk viewed in Firefox using the HTC Desire user agent string…

Advertisements


No Responses Yet to “View Mobile Websites in Firefox”

  1. Leave a Comment

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: