<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mobile debugging Archives &#8212; Stampede: the strategic design &amp; technology company</title>
	<atom:link href="https://stampede-design.com/blog/tag/mobile-debugging/feed/" rel="self" type="application/rss+xml" />
	<link>https://stampede-design.com/blog/tag/mobile-debugging/</link>
	<description>We are creating better worlds though thoughtful design and technology. Connect with us!</description>
	<lastBuildDate>Tue, 07 Apr 2026 09:06:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.5</generator>

<image>
	<url>https://stampede-design.com/wp-content/uploads/2024/02/cropped-Stampede-Favicon-old-32x32.png</url>
	<title>mobile debugging Archives &#8212; Stampede: the strategic design &amp; technology company</title>
	<link>https://stampede-design.com/blog/tag/mobile-debugging/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Debugging mobile website through user agents</title>
		<link>https://stampede-design.com/blog/inspecting-element-for-mobile-site-using-desktop/</link>
					<comments>https://stampede-design.com/blog/inspecting-element-for-mobile-site-using-desktop/#comments</comments>
		
		<dc:creator><![CDATA[Syazwan Hakim]]></dc:creator>
		<pubDate>Fri, 04 Jan 2013 23:44:56 +0000</pubDate>
				<category><![CDATA[Field Notes]]></category>
		<category><![CDATA[development tools]]></category>
		<category><![CDATA[front-end]]></category>
		<category><![CDATA[mobile debugging]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[user agents]]></category>
		<guid isPermaLink="false">https://stampede-design.com/blog/?p=3264</guid>

					<description><![CDATA[<p>Iwan's wishful thinking was to have the 'inspect element' option available on his mobile browser, until he found a better solution.</p>
<p>The post <a href="https://stampede-design.com/blog/inspecting-element-for-mobile-site-using-desktop/">Debugging mobile website through user agents</a> appeared first on <a href="https://stampede-design.com">Stampede: the strategic design &amp; technology company</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="full"><img decoding="async" class="alignnone" src="https://stampede-design.com/wp-content/uploads/2013/01/inspect-element-stampede.jpg" /></div>
<h2>The situation</h2>
<p class="lead">While working on one of my projects, I encountered an issue to render a mobile website on my desktop for debugging purposes. The task was to restyle the mobile version of the site. To make it even more complicated, the requirement includes no html structure change &#8211; only CSS.</p>
<p>I found it difficult to debug the styling on mobile since instead of being a responsive template, I was working with an adaptive template. Minimising the browser to mobile size and using mobile emulator didn&#8217;t help either &#8211; it still shows the desktop version of the site. But if the site is viewed using a mobile device, it will render the mobile version.</p>
<p>The first thing that came into my mind was, &#8220;<em>Wouldn&#8217;t it be good if we have &#8216;inspect element&#8217; option on our mobile browser?</em>&#8221;</p>
<p>Assuming the wish comes true &#8211; it might work on your mobile device, but not on others. Let&#8217;s not forget there is an abundance of mobile devices in the market nowadays. No developer will want to purchase every single mobile device just to debug the mobile issue.</p>
<h2>The solution</h2>
<p>There is this quote from Henry Louis Mencken of which he says, <em>&#8220;For every complex problem, there is a solution that is simple, neat and wrong&#8221;</em>.</p>
<p>Wrong is not how I would say my solution would be, but definitely better. It comes in the form of the browser&#8217;s user agent. By having the browser change its user agent to act as a mobile browser, we can proceed to safely debug mobile issues. We can also change browser user agents very easily too.</p>
<p>Taking Firefox for example, there are add-ons or extensions to switch between user agents. The <a href="https://addons.mozilla.org/en-US/firefox/addon/override-user-agent/?src=search" target="_blank">Override User Agent</a> extension is particularly useful.</p>
<div class="full"><img decoding="async" width="321" height="71" src="https://stampede-design.com/wp-content/uploads/2013/01/firefox-user-agent.jpg" alt="Default user agent for Firefox" class="size-full wp-image-3286" srcset="https://stampede-design.com/wp-content/uploads/2013/01/firefox-user-agent.jpg 321w, https://stampede-design.com/wp-content/uploads/2013/01/firefox-user-agent-300x66.jpg 300w" sizes="(max-width: 321px) 100vw, 321px" /><p class="capt_block">Default user agent for Firefox</p></div>
<div class="full"><img decoding="async" width="321" height="105" src="https://stampede-design.com/wp-content/uploads/2013/01/android-user-agent.jpg" alt="Android user agent" class="size-full wp-image-3290" srcset="https://stampede-design.com/wp-content/uploads/2013/01/android-user-agent.jpg 321w, https://stampede-design.com/wp-content/uploads/2013/01/android-user-agent-300x98.jpg 300w" sizes="(max-width: 321px) 100vw, 321px" /><p class="capt_block">Android user agent</p></div>
<div class="full"><img decoding="async" width="321" height="105" src="https://stampede-design.com/wp-content/uploads/2013/01/iphone-user-agent.jpg" alt="iPhone user agent" class="size-full wp-image-3293" srcset="https://stampede-design.com/wp-content/uploads/2013/01/iphone-user-agent.jpg 321w, https://stampede-design.com/wp-content/uploads/2013/01/iphone-user-agent-300x98.jpg 300w" sizes="(max-width: 321px) 100vw, 321px" /><p class="capt_block">iPhone user agent</p></div>
<h2>Conclusion</h2>
<p>In short, you may find that you are able to debug mobile sites using your favourite web developer tools that you have been using on a daily basis &#8211; which goes the very same for me.</p>
<p>Have you got any other solutions to debug the mobile issues? Always happy to hear your thoughts.</p>
<p>The post <a href="https://stampede-design.com/blog/inspecting-element-for-mobile-site-using-desktop/">Debugging mobile website through user agents</a> appeared first on <a href="https://stampede-design.com">Stampede: the strategic design &amp; technology company</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://stampede-design.com/blog/inspecting-element-for-mobile-site-using-desktop/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
