views:

378

answers:

2

Is there a way to use Firefox and Firebug but pretend it is iPhone's Safari by faking the User Agent string? I want to use Firefox to examine the Amazon or Gmail sites and see how the page is laid out for iPhone... just for fun and for experiment. Is there a way? thanks?

+1  A: 

Here are some instructions on how to do it.

great_llama
+3  A: 

You can fake the user agent string using the instructions great_llama provided, but remember that Firefox is not Safari and it probably won't lay out the page identically. If you're on a Windows or OS X machine you can use Safari to see how it will look with a higher degree of accuracy.

n8gray
In Safari, turn on the "Developer" menu in the Options - one of the submenus lets you choose your user agent, and includes both iPhone and iPod Touch.
GalacticCowboy
Oh, and you might be able to use Firebug Lite in Safari - don't know, because I've never tried it, but it's basically a JS file that gets injected into the page.
GalacticCowboy