Martin Abrahams Team : Web Development

Mobile device emulation with Firefox

Martin Abrahams Team : Web Development

Client side debugging of adaptive websites can be quite tricky on the device itself. The easiest way is to debug the site in your favourite desktop web browser and spoof the user-agent of the device to force the website to send you the desired content. The latest versions of Chrome and Internet Explorer have user agent spoofing built in, however my preferred development browser Firefox does not. I still prefer to debug with FireBug, so luckily there is an Extention available to for Firefox – User Agent Switcher by Chris Pederick.

It ships with a handful of profiles for search engines and internet explorer. There is an update to date database of devices which can be imported into the extension to enable you to emulate virtually anything. Of course you can define custom user agents if you would like to emulate something out of the ordinary device that’s appeared up in your logs.

Firefox user agent