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?
views:
378answers:
2
Q:
how to use Firefox but pretend that I am using iPhone (to use Firebug to examine the page design)
+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
2009-05-23 00:30:47
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
2009-05-23 00:35:30
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
2009-05-23 00:36:39