<?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>Dare to Dream? &#187; Browsers</title>
	<atom:link href="http://www.makuchaku.in/blog/category/browsers/feed" rel="self" type="application/rss+xml" />
	<link>http://www.makuchaku.in/blog</link>
	<description>Good judgment comes from experience; Experience comes from bad judgment.</description>
	<lastBuildDate>Sun, 02 Oct 2011 19:29:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Faster HTML and CSS &#8211; My Learnings!</title>
		<link>http://www.makuchaku.in/blog/faster-html-and-css-my-learnings</link>
		<comments>http://www.makuchaku.in/blog/faster-html-and-css-my-learnings#comments</comments>
		<pubDate>Thu, 12 Aug 2010 15:33:37 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[for-adomado]]></category>
		<category><![CDATA[My Learnings]]></category>
		<category><![CDATA[Startups]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/?p=955</guid>
		<description><![CDATA[Faster HTML and CSS: Layout Engine Internals for Web Developers (@GoogleTechTalks) I think I never cared about these &#8211; but the way David Baron from Mozilla describes these, I think I will now. The points he was making started seeming so crucial that I jotted them down as if taking notes &#8211; something I never [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[ 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/faster-html-and-css-my-learnings&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span><p><a href="http://www.youtube.com/watch?v=a2_6bGNZ7bA"><img class="alignnone size-full wp-image-957" title="Faster HTML and CSS" src="http://www.makuchaku.in/blog/wp-content/uploads/2010/08/screenshot_003.png" alt="" width="640" height="357" /></a><a href="http://www.youtube.com/watch?v=a2_6bGNZ7bA"><br />
Faster HTML and CSS: Layout Engine Internals for Web Developers</a> (@GoogleTechTalks)</p>
<p>I think I never cared about these &#8211; but the way <a href="http://dbaron.org/" target="_new">David Baron</a> from Mozilla describes these, I think I will now.<br />
The points he was making started seeming so crucial that I jotted them down as if taking notes &#8211; something I never did with previous videos.</p>
<p>The things which I picked up from this video are&#8230;</p>
<p>From fetching the DOM over the wire to displaying it, following steps take place in order&#8230;<br />
<strong>(1) Compute =&gt; (2) Compute Style =&gt; (3) Construct the DOM frame =&gt; (4) Layout =&gt; (5) Paint</strong></p>
<p>The further Left (towards (1)) you push the browser&#8217;s rendering engine via your DOM/JS/CSS, the slower the browser would get.</p>
<p>Hence&#8230;</p>
<p>Use as specific CSS tags as possible. The more generic tag, the higher performance hit while searching the DOM. For example, a &#8220;#some-id {}&#8221; is way way faster than &#8220;body &gt; div p {}&#8221; &#8211; as in the second tag, a larger portion of DOM is parsed to check which elements are affected by the selector. You push the browser to start from stage (2).</p>
<p>&#8220;:hover&#8221; style hits the browser pretty badly &#8211; as it pushes the browser back to stage (2). Coupled with the above mentioned CSS selectors problem, it can lead to real slow computation. Use it with CSS selectors which are very very specific in nature.</p>
<p>Programmatic scrolling of tags (some of which might have overflow property) via javascript &#8211; as that does not causes re-computation of style (stage 2). While if you do it with CSS magic, you push your browser back to stage (2).</p>
<p>Mozilla&#8217;s rendering tree, while building itself &#8211; does not takes any element with with CSS property &#8220;display:none&#8221; into account &#8211; it just skips it. So when this property is flipped, it triggers a full re-computation of the tree &#8211; which is expensive. However if we use the style &#8220;visibility:hidden&#8221; &#8211; the rendering tree picks up the related element while building itself. Hence when visibility is flipped, its much faster as there is no re-calculation of the rendering tree.</p>
<p>An old one &#8211; when javascripts are being downloaded, the browser stops itself from any other processing and waits for the script to download and execute (as script can modify the DOM anyhow it likes). During this time, the precious time is lost &#8211; which could have been used in downloading other content &#8211; like images, DOM, CSS, etc. Hence &#8211; keep the javascripts as further in the DOM as possible. Use caching is possible.</p>
<p>Learn more about speeding up your website at &#8211; <a href="http://developer.yahoo.com/performance/rules.html" target="_blank">Yahoo&#8217;s best practices (YSlow stuff)</a> &#8211; some of which we regularly follow at <a href="http://adomado.com" target="_blank">AdoMado.com</a></p>
 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/faster-html-and-css-my-learnings&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/faster-html-and-css-my-learnings/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Getting around the dreaded Operation Aborted error in Internet Explorer with Ruby on Rails</title>
		<link>http://www.makuchaku.in/blog/getting-around-the-dreaded-operation-aborted-error-in-internet-explorer-with-ruby-on-rails</link>
		<comments>http://www.makuchaku.in/blog/getting-around-the-dreaded-operation-aborted-error-in-internet-explorer-with-ruby-on-rails#comments</comments>
		<pubDate>Wed, 16 Jun 2010 17:17:34 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[AdoMado]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[for-adomado]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/?p=910</guid>
		<description><![CDATA[If you have ever experienced this&#8230; &#8230;you know how painful it is to debug and rectify. This error was so common that Microsoft created a knowledge base (KB927917) article for this. It even has a dedicated explanation at the IE Blog. The error basically is &#8211; &#8220;HTML Parsing Error: Unable to modify the parent container [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[ 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/getting-around-the-dreaded-operation-aborted-error-in-internet-explorer-with-ruby-on-rails&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span><p>If you have ever experienced this&#8230;</p>
<p><img src="http://ieblog.members.winisp.net/images/ie7_operation_aborted.png" alt="" width="579" height="354" /></p>
<p>&#8230;you know how painful it is to debug and rectify.</p>
<p>This error was so common that Microsoft created a knowledge base (<code><a href="http://support.microsoft.com/kb/927917/en-us" target="_blank">KB927917</a>)</code> article for this. It even has a dedicated explanation at the <a href="http://blogs.msdn.com/b/ie/archive/2008/04/23/what-happened-to-operation-aborted.aspx" target="_blank">IE Blog</a>. The error basically is &#8211; &#8220;HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)&#8221;.</p>
<p>While building the Social sharing plugins for <a href="http://adomado.com">AdoMado</a>, we were facing similar problems. Anywhere FB share, Orkut share or Digg buttons were being used, IE was complaining of exactly the same problem. Since social share plugins are the backbone of our community building process, fixing this ASAP was high on my agenda.</p>
<p>NOTE &#8211; There was no such problem on any version of Firefox or Chrome.</p>
<p>If you notice the IE blog entry, they mention that</p>
<blockquote><p>Moving the location of your script block to a child of the body (this usually solves most problems, while allowing the most flexibility in terms of scenarios).</p></blockquote>
<p>can be a possible solution.</p>
<p>Cool! But how do we reach here? My javascripts were spread all over the place!</p>
<p>First things first&#8230; I refactored the code in such a way that all possible usage of problem causing scripts was moved to one single partial. Now error was originating from only one location. The fix, as mentioned on the IE blog &#8211; was then straight forward.</p>
<p><strong>In your layout, just before closing the BODY tag, use the &#8220;yield&#8221; block to render any such javascript &#8211; and render all such scripts into this &#8220;yield&#8221; block.</strong></p>
<p>Here are some screen captures from our codebase&#8230;</p>
<p><a href="http://www.makuchaku.in/blog/wp-content/uploads/2010/06/screenshot_002.png"><img class="alignnone size-full wp-image-911" title="yield" src="http://www.makuchaku.in/blog/wp-content/uploads/2010/06/screenshot_002.png" alt="" width="432" height="235" /></a><br />
Notice the &#8220;yield :delayed_loading&#8221; block&#8230;</p>
<p><a href="http://www.makuchaku.in/blog/wp-content/uploads/2010/06/screenshot_003.png"><img class="alignnone size-full wp-image-912" title="delayed_loading" src="http://www.makuchaku.in/blog/wp-content/uploads/2010/06/screenshot_003.png" alt="" width="455" height="92" /></a><br />
Yield&#8217;ing to delayed_loading block.</p>
<p>If you browse over to our offer &#8211; <a href="http://adomado.com/offers/show/3-free_sms-send_free_sms?p=840d2f20-d7a3-11de-9518-12313902b1e7" target="_blank">Send Ad Free SMS</a> using IE, you will notice that you see no such error. All the social share plugins render in harmony.<br />
I&#8217;ve even thrown in a little jQuery fadeIn magic <img src='http://www.makuchaku.in/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/getting-around-the-dreaded-operation-aborted-error-in-internet-explorer-with-ruby-on-rails&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/getting-around-the-dreaded-operation-aborted-error-in-internet-explorer-with-ruby-on-rails/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is this the Firefox4? Now with a brand new Addon Manager</title>
		<link>http://www.makuchaku.in/blog/is-this-the-firefox4-now-with-a-brand-new-addon-manager</link>
		<comments>http://www.makuchaku.in/blog/is-this-the-firefox4-now-with-a-brand-new-addon-manager#comments</comments>
		<pubDate>Fri, 30 Apr 2010 06:46:59 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/?p=885</guid>
		<description><![CDATA[I simply couldn&#8217;t resist myself from capturing the screen shots of the brand new Addon Manager being developed for Firefox 4 (3.7a5pre). The new UI is slick and feels more like a part of the browser. Here are is a quick screen shot of the Themes section. The Addons section It seems like this is [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[ 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/is-this-the-firefox4-now-with-a-brand-new-addon-manager&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span><p>I simply couldn&#8217;t resist myself from capturing the screen shots of the brand new Addon Manager being developed for Firefox 4 (3.7a5pre). The new UI is slick and feels more like a part of the browser.</p>
<p><strong>Here are is a quick screen shot of the Themes section.</strong><a href="http://www.makuchaku.in/blog/wp-content/uploads/2010/04/screenshot_012.png"><br />
<img class="alignnone size-full wp-image-887" title="Firefox 4 - new Addon Manager - Themes section" src="http://www.makuchaku.in/blog/wp-content/uploads/2010/04/screenshot_012.png" alt="Firefox 4 - new Addon Manager - Themes section" /></a></p>
<p><strong>The Addons section</strong><br />
<a href="http://www.makuchaku.in/blog/wp-content/uploads/2010/04/screenshot_011.png"><img class="alignnone size-full wp-image-886" title="Firefox 4 - new Addon Manager - Extensions section" src="http://www.makuchaku.in/blog/wp-content/uploads/2010/04/screenshot_011.png" alt="Firefox 4 - new Addon Manager - Extensions section" /></a></p>
<p><strong>It seems like this is work in progress &#8211; &#8220;Get more addons&#8221; is still being developed.</strong><br />
<a href="http://www.makuchaku.in/blog/wp-content/uploads/2010/04/screenshot_014.png"><img class="alignnone size-full wp-image-889" title="Firefox 4 – new Addon Manager – Get more addons section" src="http://www.makuchaku.in/blog/wp-content/uploads/2010/04/screenshot_014.png" alt="Firefox 4 – new Addon Manager – Get more addons section" /></a></p>
<p>The Firefox version I am running (<a href="http://bit.ly/cAXQe3" target="_blank">Know more</a>) (<a href="http://bit.ly/csSbOd" target="_blank">Download link</a>) (<a href="http://bit.ly/6do8W0">AdoMado</a>)<br />
<a href="http://www.makuchaku.in/blog/wp-content/uploads/2010/04/screenshot_013.png"><img class="alignnone size-full wp-image-888" title="Firefox 4 (3.7a5pre - Minefield)" src="http://www.makuchaku.in/blog/wp-content/uploads/2010/04/screenshot_013.png" alt="Firefox 4 (3.7a5pre - Minefield)" width="338" height="515" /></a></p>
 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/is-this-the-firefox4-now-with-a-brand-new-addon-manager&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/is-this-the-firefox4-now-with-a-brand-new-addon-manager/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pull up your socks &#8211; The magic of tsocks&#8230;</title>
		<link>http://www.makuchaku.in/blog/pull-up-your-socks-the-magic-of-tsocks</link>
		<comments>http://www.makuchaku.in/blog/pull-up-your-socks-the-magic-of-tsocks#comments</comments>
		<pubDate>Fri, 30 Oct 2009 04:42:47 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[How-To]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/?p=807</guid>
		<description><![CDATA[So if you are in a same situation as mine, you probably&#8230; Are on an MNC&#8217;s intranet which is being simultaneously used by a ton of other souls Get pathetic internet speeds, at times &#8211; measurable sometimes in BYTES! Even &#8220;git pull&#8221; takes like ages to complete&#8230; Any connection to Twitter is severed before it [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[ 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/pull-up-your-socks-the-magic-of-tsocks&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span><p>So if you are in a same situation as mine, you probably&#8230;</p>
<ul>
<li>Are on an MNC&#8217;s intranet which is being simultaneously used by a ton of other souls</li>
<li>Get pathetic internet speeds, at times &#8211; measurable sometimes in BYTES!</li>
<li>Even &#8220;git pull&#8221; takes like ages to complete&#8230;</li>
<li>Any connection to Twitter is severed before it even sees light of the day!</li>
</ul>
<p>The solution to all these worries is simpler than you think.</p>
<p>We can create an SSH tunnel to a *much* faster server and push our internet traffic over it. If the server is local, this will work even better &#8211; as your SSH on local LAN connections would be definitely faster than that on real WWW.</p>
<p>Follow <a href="http://wiki.freaks-unidos.net/weblogs/azul/firefox-ssh-tunnel" target="_blank">http://wiki.freaks-unidos.net/weblogs/azul/firefox-ssh-tunnel</a> and create a tunnel on any port. Lets call it $PORT<br />
Basically, you need to run&#8230;</p>
<pre>ssh -fND localhost:$PORT username@some-fast-server.com</pre>
<p>Install <a href="http://tsocks.sourceforge.net/" target="_blank">tsocks</a> &#8211; its a Transparent SOCKS Proxying Library which uses the magic of LD_PRELOAD and patches the connect() call to appropriately use a pre-configured proxy (via /etc/tsocks.conf). Hence any call like&#8230;</p>
<blockquote><p>git pull</p></blockquote>
<p>becomes</p>
<blockquote><p>tsocks git pull</p></blockquote>
<p>Your /etc/tsocks.conf looks something like this (after removing all the comments)</p>
<blockquote><p>#Define a local network for which tsocks won&#8217;t patch the connect() call<br />
local = 192.168.0.0/255.255.0.0</p>
<p>path {<br />
reaches = 0.0.0.0/0.0.0.0<br />
server = 127.0.0.1<br />
server_type = 5<br />
server_port = $PORT<br />
}<br />
server = 127.0.0.1<br />
server_type = 5<br />
server_port = $PORT</p></blockquote>
<p>Replace the $PORT by the port you selected when creating the SSH tunnel. Server remains 127.0.0.1 as your tunnel exists on your own machine.</p>
<p>To configure your Firefox to use this new tunnel, goto Edit &gt; Preferences &gt; Advanced &gt; Network Tab &gt; Settings and make it look like</p>
<p><img title="Connection Settings" src="http://www.makuchaku.in/blog/wp-content/uploads/2009/10/Screenshot-Connection-Settings.png" alt="Connection Settings" width="518" height="559" /><br />
Add URL&#8217;s and IP ranges to &#8220;No Proxy for&#8221; field to exempt them from using the SSH tunnel.</p>
<p>That&#8217;s it. Click OK and you are ready to rock!</p>
 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/pull-up-your-socks-the-magic-of-tsocks&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/pull-up-your-socks-the-magic-of-tsocks/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OMG! Chrome-4.0 is nearly 59% and 76% faster than Firefox-3.7a1pre on my T61 (Ubuntu Jaunty)</title>
		<link>http://www.makuchaku.in/blog/oh-boy-google-chrome-is-nearly-59-to-76-percent-faster-than-firefox-on-my-t61-running-ubuntu-jaunty</link>
		<comments>http://www.makuchaku.in/blog/oh-boy-google-chrome-is-nearly-59-to-76-percent-faster-than-firefox-on-my-t61-running-ubuntu-jaunty#comments</comments>
		<pubDate>Sat, 03 Oct 2009 03:45:32 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[A strong urge to blog...]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[browser wars]]></category>
		<category><![CDATA[chrome vs firefox]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/?p=782</guid>
		<description><![CDATA[Okay, to start off &#8211; I really wanted Firefox to come on the top&#8230; I&#8217;ve been a dedicated firefox user ever since and simply love the product. The fact that it has addons for any conceivable functionality &#8211; makes it r0ck even more! However, to my surprise Google&#8217;s Chrome beats it hands down when it [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[ 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/oh-boy-google-chrome-is-nearly-59-to-76-percent-faster-than-firefox-on-my-t61-running-ubuntu-jaunty&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span><p>Okay, to start off &#8211; I really wanted Firefox to come on the top&#8230; I&#8217;ve been a dedicated firefox user ever since and simply love the product. The fact that it has addons for any conceivable functionality &#8211; makes it r0ck even more!</p>
<p>However, to my surprise Google&#8217;s Chrome beats it hands down when it comes to speed of the javascript engine each of the browser deploys. Google has V8 tucked under Chrome&#8217;s (v4.0.213.1) belt, while my shiny new (nightly updated) Mozilla Firefox Minefield 3.7a1pre has TraceMonkey.</p>
<p>So why am I this sad today? Well&#8230; check this out&#8230;</p>
<p><a href="http://farm4.static.flickr.com/3510/3976232322_bc7eb4e7ce_o.png" target="_blank"><img style="border: 0px initial initial;" src="http://farm4.static.flickr.com/3510/3976232322_64b37fd52c.jpg" alt="Chrome-4.0 vs Firefox-3.7a1pre Peacekeeper JS test" width="500" height="313" /></a><br />
Peacekeeper JS test &#8211; Chrome was nearly 59% faster here!</p>
<p><a href="http://farm4.static.flickr.com/3460/3976232530_02707f81ce_o.png" target="_blank"><img style="border: 0px initial initial;" src="http://farm4.static.flickr.com/3460/3976232530_30702c53b4.jpg" alt="" width="500" height="313" /></a><br />
SunSpider test &#8211; Chrome was almost 76% faster</p>
<p><a href="http://farm4.static.flickr.com/3450/3975471457_530395aec5_o.png" target="_blank"><img style="border: 0px initial initial;" src="http://farm4.static.flickr.com/3450/3975471457_e2ec586452.jpg" alt="" width="500" height="424" /></a><br />
Chrome vs Firefox &#8211; SunSpider test, merged view.</p>
<p>I purposely ran the tests in side-by-side browser windows, launching Firefox tests just about a second before the Chrome&#8217;s tests &#8211; and to my surprise, I could actually (visually) see Chrome finishing faster &#8211; it was that fast!<br />
Afterall&#8230; 59% or 76% actually does seems a pretty huge boost, whatever functionality it might be in.</p>
<p>Here are by browser versions&#8230; (both are stock builds as provided by repositories/online).</p>
<p><img style="border: 0px initial initial;" src="http://farm3.static.flickr.com/2625/3975498101_14b280348b_m.jpg" alt="" /> and  <img style="border: 0px initial initial;" src="http://farm3.static.flickr.com/2441/3975497999_b0f71b273f_m.jpg" alt="" /></p>
<p>Well&#8230; to me, this is healthy competition. Talk about the times when Chrome wasn&#8217;t there, Firefox used to make IE look timid. Come Chrome and now Firefox is doing the catch-up. Whoever wins, we &#8211; the end users &#8211; get the best of all the worlds.</p>
<p>That is like &#8211; have your cake &amp; eat it too <img src='http://www.makuchaku.in/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>However, I seriously hope that by the time Firefox 4.0 launches, its javascript engine is at par with Google Chrome&#8217;s.<br />
And by the time Google Chrome matures, I wish it should start sporting the same plethora of addons as does Firefox.</p>
<p>From UI&#8217;s perspective, Chrome also packs an extra bit of punch, which I really like and would like to blog about. But thats for a later post.</p>
 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/oh-boy-google-chrome-is-nearly-59-to-76-percent-faster-than-firefox-on-my-t61-running-ubuntu-jaunty&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/oh-boy-google-chrome-is-nearly-59-to-76-percent-faster-than-firefox-on-my-t61-running-ubuntu-jaunty/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install Firefox Addons on Minefield &#8211; Bleeding edge nightly builds for firefox</title>
		<link>http://www.makuchaku.in/blog/how-to-install-firefox-addons-on-minefield-bleeding-edge-nightly-builds-for-firefox</link>
		<comments>http://www.makuchaku.in/blog/how-to-install-firefox-addons-on-minefield-bleeding-edge-nightly-builds-for-firefox#comments</comments>
		<pubDate>Thu, 24 Sep 2009 16:54:16 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[Browsers]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/?p=748</guid>
		<description><![CDATA[Using Minefield &#8211; the nightly firefox build &#8211; and yet want to use all the available extensions? Even those which are made for FF versions upto 3.5*? Well&#8230; The hack is pretty simple. Seems like Mozilla Addons website checks for the User Agent string in request headers to determine if its going to show you [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[ 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/how-to-install-firefox-addons-on-minefield-bleeding-edge-nightly-builds-for-firefox&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span><p>Using Minefield &#8211; the nightly firefox build &#8211; and yet want to use all the available extensions? Even those which are made for FF versions upto 3.5*?</p>
<p>Well&#8230; The hack is pretty simple. Seems like Mozilla Addons website checks for the User Agent string in request headers to determine if its going to show you a &#8220;Add to Firefox&#8221; or the &#8220;Sorry&#8221; butons.</p>
<p><a href="http://www.makuchaku.in/blog/wp-content/uploads/2009/09/firefox-1.png"><img class="alignnone size-full wp-image-756" title="firefox-sorry" src="http://www.makuchaku.in/blog/wp-content/uploads/2009/09/firefox-1.png" alt="firefox-sorry" width="163" height="72" /></a> or <a href="http://www.makuchaku.in/blog/wp-content/uploads/2009/09/firefox-2.png"><img class="alignnone size-full wp-image-757" title="firefox-2" src="http://www.makuchaku.in/blog/wp-content/uploads/2009/09/firefox-2.png" alt="firefox-2" width="192" height="59" /></a></p>
<p>Perform the following</p>
<ol>
<li>Follow <a href="http://kb.mozillazine.org/Extensions.checkCompatibility" target="_blank">http://kb.mozillazine.org/Extensions.checkCompatibility</a> and disable compatibility checks done by FF when installing new addons.</li>
<li>Download and install the User Agent Switcher addon from <a href="https://addons.mozilla.org/en-US/firefox/downloads/latest/59/addon-59-latest.xpi">https://addons.mozilla.org/en-US/firefox/downloads/latest/59/addon-59-latest.xpi</a> and restart Firefox.</li>
<li>Use the User Agent Switcher extension to create a new user agent string &#8211; you can pick up one for Firefox 3.5 from <a href="http://www.useragentstring.com/pages/Firefox/" target="_blank">http://www.useragentstring.com/pages/Firefox/</a></li>
<li>Whenever you need to install any addon from Mozilla Addons, just select the new User Agent string from the User Agent Switcher menu in the Tools menu and reload the Mozilla Addons page.</li>
<li>Enjoy</li>
</ol>
<p><img class="alignnone size-full wp-image-758" title="firefox user agent switcher" src="http://www.makuchaku.in/blog/wp-content/uploads/2009/09/firefox-3.png" alt="firefox user agent switcher" width="607" height="554" /><br />
Firefox 3.53 User Agent string</p>
<p><img class="alignnone size-full wp-image-759" title="firefox-hack" src="http://www.makuchaku.in/blog/wp-content/uploads/2009/09/firefox-hack.png" alt="firefox-hack" width="623" height="520" /><br />
Installing an addon which is meant for Firefox 3.5* on Firefox 3.7a1pre</p>
<p><span style="text-decoration: underline;"><strong>NOTE</strong></span>: Performing the above hack can crash your firefox profile. This information is released for academic purpose only. I cannot be held responsible for any data loss whatsoever. Use at your own risk.</p>
<p><a href="../wp-content/uploads/2009/09/Screenshot-1.png"></a></p>
 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/how-to-install-firefox-addons-on-minefield-bleeding-edge-nightly-builds-for-firefox&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/how-to-install-firefox-addons-on-minefield-bleeding-edge-nightly-builds-for-firefox/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

