<?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>Free practice test , mock test, driving test, interview questions &#187; firefox</title>
	<atom:link href="http://www.skill-guru.com/blog/tag/firefox/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.skill-guru.com/blog</link>
	<description>Find free mock and practice test, create and sell tests</description>
	<lastBuildDate>Mon, 16 Jan 2012 16:53:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cross domain Scripting comes to haunt again</title>
		<link>http://www.skill-guru.com/blog/2011/03/06/cross-domain-scripting-comes-to-haunt-again/</link>
		<comments>http://www.skill-guru.com/blog/2011/03/06/cross-domain-scripting-comes-to-haunt-again/#comments</comments>
		<pubDate>Sun, 06 Mar 2011 18:12:41 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[Programming / tutorials]]></category>
		<category><![CDATA[cross domain scripting]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://www.skill-guru.com/blog/?p=3908</guid>
		<description><![CDATA[In my last posts I had talked about Cross domain scripting issue with Firefox and how to solve cross domain scripting issues on tomcat
But looks like the issue has not been completely resolved. I have used the CORS filter solution as we are working on tomcat but have some problems in exception scenarios
Problem Statement:
I am [...]]]></description>
			<content:encoded><![CDATA[<p>In my last posts I had talked about <a href="http://www.skill-guru.com/blog/2011/02/04/adding-access-control-allow-origin-to-server-for-cross-domain-scripting/">Cross domain scripting issue with Firefox</a> and how to solve <a href="http://www.skill-guru.com/blog/2011/02/23/cross-domain-scripting-settings-on-tomcat/">cross domain scripting issues on tomcat</a></p>
<p>But looks like the issue has not been completely resolved. I have used the CORS filter solution as we are working on tomcat but have some problems in exception scenarios</p>
<p><strong>Problem Statement</strong>:</p>
<p>I am trying to make a call to a REST service and trying to catch an 404 or 200 condition returned by REST and show an appropriate message to user based on error code.</p>
<p>My url in browser is <strong>http://localhost:8080/myapp/test.html</strong></p>
<p>The code inside is</p>
<blockquote><p>&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;script type=&#8221;text/javascript&#8221; charset=&#8221;utf-8&#8243; src=&#8221;json2.js&#8221;&gt;&lt;/script&gt;<br />
&lt;script type=&#8221;text/javascript&#8221; charset=&#8221;utf-8&#8243; src=&#8221;jquery-1.4.4.min.js&#8221;&gt;&lt;/script&gt;<br />
&lt;script&gt;</p>
<p>function invokeFunction()<br />
{</p>
<p>var myService = null;<br />
if (window.XMLHttpRequest) //for mozilla<br />
{<br />
myService = new XMLHttpRequest();</p>
<p>if ( typeof myService.overrideMimeType != &#8216;undefined&#8217;)<br />
myService.overrideMimeType(&#8216;application/json&#8217;);<br />
}<br />
else if (window.ActiveXObject) //for IE<br />
{<br />
myService = new ActiveXObject(&#8220;Microsoft.XMLHTTP&#8221;);<br />
}</p>
<p>var serviceUrl = &#8220;<span style="color: #993300;"><strong>http://127.0.0.1:8080/myapp/webresources/user/1111</strong></span>&#8220;;<span id="more-3908"></span></p>
<p>try{</p>
<p>myService.open(&#8220;GET&#8221;, serviceUrl , false);<br />
myService.send();</p>
<p>if(myService.status == 404 || myService.status == 0)<br />
{</p>
<p>alert(&#8216;404 &gt;&gt;&gt;&gt;&#8217; +myService.responseText);<br />
}<br />
else if(myService.status == 200)<br />
{</p>
<p>alert(&#8216;200 &gt;&gt;&gt;&gt;&#8217; +myService.responseText);<br />
}</p>
<p>}catch(err){</p>
<p>alert(&#8221; Error in REST service &#8220;+err.description+&#8217;  &#8216;+myService.status+&#8217; &#8216;+myService.readyState);<br />
}</p>
<p>}</p></blockquote>
<p>Now when you look at code above</p>
<p>What happens in Firefox ?</p>
<p>My address in browser specifies localhost and I am making call to 127.0.0.1 and although post numbers are same, Firefox treats it as a cross domain. This would not have worked in FF but since I am using CORS filter, I am getting data if there is user with id 1111.</p>
<p>What happens in IE ?</p>
<p>This works perfectly fine in IE .</p>
<p>How to fix this ?</p>
<p>This will work if you just intend to capture the exception and not much concerned with exception message send by server. But if you have display different error messages to client based on error messages</p>
<p>For now we have wrapped the error messages also as response and return as 200.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.skill-guru.com/blog/2011/03/06/cross-domain-scripting-comes-to-haunt-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE caching Ajax calls</title>
		<link>http://www.skill-guru.com/blog/2011/03/02/ie-caching-ajax-calls/</link>
		<comments>http://www.skill-guru.com/blog/2011/03/02/ie-caching-ajax-calls/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 02:02:21 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[Programming / tutorials]]></category>
		<category><![CDATA[caching]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[REST]]></category>

		<guid isPermaLink="false">http://www.skill-guru.com/blog/?p=3890</guid>
		<description><![CDATA[If you have been trying to make a REST call from your javascript or jsp page, you might have found that in firefox(FF) and Safari there is a call made to server every time . But this does not happen in IE.
This is the scenario I had
I had script file client.js which was making a [...]]]></description>
			<content:encoded><![CDATA[<p>If you have been trying to make a REST call from your javascript or jsp page, you might have found that in firefox(FF) and Safari there is a call made to server every time . But this does not happen in IE.</p>
<p>This is the scenario I had</p>
<p>I had script file client.js which was making a rest call to get some data.</p>
<p>First time I could see the results but then with every other subsequent call, there was no change in state, although the data should have changed.</p>
<p>Now this can be fixed by multiple ways</p>
<p><strong>Option 1: </strong></p>
<p>Change the browser settings. To  do this you have to go to</p>
<p>General&#8211;Settings&gt;</p>
<p>and change the settings from <strong>Automatically</strong> to <strong>Every Visit to page</strong></p>
<p>This will resolve the issue.</p>
<p><strong>Option 2:<br />
</strong></p>
<p>Change from GET to POST</p>
<p><strong>Option 3 :</strong></p>
<p>Add a timestamp at end of url which will looking at which server will think it is a new URL.</p>
<p><span id="more-3890"></span>I am planning to find some better solution but did not had any luck so far. Once I find anything, will update the post.</p>
<p>Update : Here is the solution using Servlet Filter  <a href="http://www.skill-guru.com/blog/2011/03/27/servlet-filter-to-prevent-no-cache/">Servlet Filter to prevent No Cache</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.skill-guru.com/blog/2011/03/02/ie-caching-ajax-calls/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Double submits in Firefox browser</title>
		<link>http://www.skill-guru.com/blog/2011/02/06/double-submits-in-firefox-browser/</link>
		<comments>http://www.skill-guru.com/blog/2011/02/06/double-submits-in-firefox-browser/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 04:12:22 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[Programming / tutorials]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://www.skill-guru.com/blog/?p=3791</guid>
		<description><![CDATA[If you had ever experienced double form submit in your application in Firefox, ,here is the clue
It could be because of the Firebug. For me at least the problem was firebug.
I was on version 3.5.8 of firefox and the version of firebug installed with this version had bug.
I had to upgrade to firefox 3.6 to [...]]]></description>
			<content:encoded><![CDATA[<p>If you had ever experienced double form submit in your application in Firefox, ,here is the clue</p>
<p>It could be because of the Firebug. For me at least the problem was firebug.</p>
<p>I was on version 3.5.8 of firefox and the version of firebug installed with this version had bug.</p>
<p>I had to upgrade to firefox 3.6 to get latest version of firebug and then this problem did not happen.</p>
<p>Alternatively turn of firebug or any other recent add on you installed and this double form submission problem should go away.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.skill-guru.com/blog/2011/02/06/double-submits-in-firefox-browser/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The 500 ft perspective of website performance</title>
		<link>http://www.skill-guru.com/blog/2010/09/17/the-500-ft-perspective-of-website-performance/</link>
		<comments>http://www.skill-guru.com/blog/2010/09/17/the-500-ft-perspective-of-website-performance/#comments</comments>
		<pubDate>Fri, 17 Sep 2010 15:10:32 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[Programming / tutorials]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[performace]]></category>

		<guid isPermaLink="false">http://www.skill-guru.com/blog/?p=2670</guid>
		<description><![CDATA[Let us start with this simple questions, What are the engineers at google are obsessed with ?
Answer : Speed
Google instant was the latest delivered in search in which google displays search result as soon as you start punching your keyboard. By predicting your search and showing results before        [...]]]></description>
			<content:encoded><![CDATA[<p>Let us start with this simple questions, What are the engineers at google are obsessed with ?</p>
<p>Answer : <strong>Speed</strong></p>
<p><a href="http://www.google.com/instant/">Google instant</a> was the latest delivered in search in which google displays search result as soon as you start punching your keyboard. <em>By predicting your search and showing results before             you finish typing, Google Instant can save 2-5 seconds per search</em>.</p>
<p>Google&#8217;s spoke person Matt Cutts had also made it clear that the sites which will perform slow , will be penalized.</p>
<p>So what is the next thing web developers around the world will start work towards (They have been working towards it , but now they might get obsessed) ?</p>
<p>Yes you are right . <strong>Improve the performance of their website/application</strong>.</p>
<p><a href="http://www.skill-guru.com/blog/wp-content/uploads/2010/09/speed.jpg"><img class="aligncenter size-full wp-image-2694" title="faster websites" src="http://www.skill-guru.com/blog/wp-content/uploads/2010/09/speed.jpg" alt="improve website performance" width="600" height="400" /></a><span id="more-2670"></span></p>
<p>Ed Robinson co-founder and CEO of Aptimize, posted this excellent article on looking at <a href="http://www.readwriteweb.com/archives/a_faster_web_-_its_not_about_the_network_anymore.php">website optimization with a 500 ft perspective</a>. He says that the average speed of an internet connection was 50Kbps in 1996. In 2010 the average speed of a broadband connection is 3.9Mbps &#8211; an increase of over 74 times.  But the size of web pages has also increased manifold , on account of rich graphics and  more data.  He divides optimization into three main categories:</p>
<ol>
<li>Network Optimization</li>
<li>Website/Application Optimization</li>
<li>Website Acceleration</li>
</ol>
<p>This diagram spells out the core areas where performance can be impacted</p>
<p><a href="http://www.skill-guru.com/blog/wp-content/uploads/2010/09/Faster-Diagram-01.jpg"><img class="aligncenter size-full wp-image-2701" title="Faster websites" src="http://www.skill-guru.com/blog/wp-content/uploads/2010/09/Faster-Diagram-01.jpg" alt="Faster websites" width="395" height="700" /></a></p>
<p>He has re iterated some of the facts that it is not always networks which are to be blamed for poor site performance. It is the application which also has to improve.</p>
<p>Chrome has come out with the fastest java script engine . Firefox was not far behind , coning out with release of <a href="https://wiki.mozilla.org/JaegerMonkey">JaegerMonkey java script engine</a> which is faster than their earlier release trace monkey.</p>
<p>Then there are YUI guidelines <a href="http://developer.yahoo.com/performance/rules.html">Best Practices for Speeding Up Your Web Site</a></p>
<p>Previously the performance tuning mean looking into server side code, tuning sql&#8217;s and analyzing memory graph. This is still important but there are lot of other variables which have come into play to determine the performance of website.  When optimizing site , one should always consider all these factors and  not solely on one.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.skill-guru.com/blog/2010/09/17/the-500-ft-perspective-of-website-performance/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to run IE only sites from Linux</title>
		<link>http://www.skill-guru.com/blog/2010/06/11/how-to-run-ie-only-sites-from-linux/</link>
		<comments>http://www.skill-guru.com/blog/2010/06/11/how-to-run-ie-only-sites-from-linux/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 21:49:44 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[Programming / tutorials]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://www.skill-guru.com/blog/?p=2367</guid>
		<description><![CDATA[Sounds stupid ? Why would you want to run IE from Linux ? Why not use Firefox or Chrome ?
But that is not always the scenario.
Reason no 1 : Web designers who use Linux need to test their site on IE . Do not forget IE still commands majority of browser market 59.95%. Can you [...]]]></description>
			<content:encoded><![CDATA[<p>Sounds stupid ? Why would you want to run IE from Linux ? Why not use Firefox or Chrome ?</p>
<p>But that is not always the scenario.</p>
<p><strong>Reason no 1</strong> : Web designers who use Linux need to test their site on IE . Do not forget <a href="http://mashable.com/2010/05/04/chrome-firefox-ie-stats/">IE still commands majority of browser market 59.95%</a>. Can you afford to ignore IE .</p>
<p>Obviously not !</p>
<p><strong>Reason no 2</strong> : Organizations who have created IE only applications 7-10 years back and are now switching to Linux platform , do not want to spend time and money porting the application to new browsers.</p>
<p>So when confronted with this problem what can be done ?</p>
<p><strong>Solution 1 :</strong></p>
<p>If you have windows as your OS then you can use this fantastic plugin <a href="https://addons.mozilla.org/en-US/firefox/addon/1419/">IE Tab for Firefox</a>. I have tried this and our UI was pretty heavy bit worked perfectly fine with plugin. I think as of date, the developers are not supporting this plugin so you might not be able to find upgrade for latest version of Firefox.  There are other plugins similar to I<a href="https://addons.mozilla.org/en-US/firefox/tag/ie%20tab">E tab in firefox</a> which you wanna try out.</p>
<p>Drawback : This does not work on Linux.</p>
<p><strong>Solution 2:<span id="more-2367"></span></strong></p>
<p>On linux environment, you can use</p>
<p>a) <a href="http://ieview.mozdev.org/ieview-linux.html">IE View on Linux</a> This can be achieved by installing <a href="http://www.winehq.org/">WINE</a>.</p>
<p>b) <a href="http://www.tatanka.com.br/ies4linux/page/Main_Page">IES4Linux</a> &#8211; It is an convenient way to     install and run IE 5.0, 5.5, and IE6 (IE7 support is in progress). One     difference is that<strong> IEs4Linux doesn&#8217;t do a full WINE install</strong> and     configuration, it just does what&#8217;s needed to run the different IE versions</p>
<p>IEs4Linux will not be very effective if you have a very heavy UI with lot of controls.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.skill-guru.com/blog/2010/06/11/how-to-run-ie-only-sites-from-linux/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Performance issue in IE 7 java Script Engine</title>
		<link>http://www.skill-guru.com/blog/2010/03/31/performance-issue-in-ie-7-java-script-engine/</link>
		<comments>http://www.skill-guru.com/blog/2010/03/31/performance-issue-in-ie-7-java-script-engine/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 23:28:46 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[Programming / tutorials]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.skill-guru.com/blog/?p=1935</guid>
		<description><![CDATA[In one of my earlier post  Performance Improvement with Firefox ,  I had mentioned how we had to switch to firefox for our application response time in IE.  Andres in his post Garbage Collection in IE7 heavily impacted by number of JavaScript objects and string sizes is sharing his experience with performance issue in IE [...]]]></description>
			<content:encoded><![CDATA[<p>In one of my earlier post  <a href="http://www.skill-guru.com/blog/2009/09/22/performance-improvement-with-firefox-3-5/">Performance Improvement with Firefox</a> ,  I had mentioned how we had to switch to firefox for our application response time in IE.  Andres in his post <a href="http://blog.dynatrace.com/2010/03/23/garbage-collection-in-ie7-heavily-impacted-by-number-of-javascript-objects-and-string-sizes/">Garbage Collection in IE7 heavily impacted by number of JavaScript objects and string sizes</a> is sharing his experience with performance issue in IE 7 java Script Engine .  One of his key recommendations , <strong>Be careful with string allocations and objects in memory -&gt; GC in IE7 performs really badly</strong></p>
<p>There is another presentation by Frank on browser problem in AJAX application in which he used PushToTest TestMaker to drive an Ajax application on IE 6 and 7 and on Firefox 3. to find out why some Selenium tests of Ajax applications were running at 3 minutes while the same test on a different browser took 30 minutes. You can find the details here<a href="http://downloads.pushtotest.com/200903/TSS_PushToTest_RIA.pdf"> Browser problems in AJAX applications</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.skill-guru.com/blog/2010/03/31/performance-issue-in-ie-7-java-script-engine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Analyzing web site performance in Firefox with YSlow</title>
		<link>http://www.skill-guru.com/blog/2010/03/14/analyzing-web-site-performance-with-firefox/</link>
		<comments>http://www.skill-guru.com/blog/2010/03/14/analyzing-web-site-performance-with-firefox/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 21:51:01 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[Programming / tutorials]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jsf]]></category>
		<category><![CDATA[jsp]]></category>
		<category><![CDATA[yslow]]></category>

		<guid isPermaLink="false">http://www.skill-guru.com/blog/?p=1725</guid>
		<description><![CDATA[Web developers and applications developers must have faced this problem related to performance of their Websites.
In this post I will focus of how to track website performance. Remember the websites behave different under different browsers so if your site loads faster in FireFox , it may not load with same speed in IE.
Firefox has some [...]]]></description>
			<content:encoded><![CDATA[<p>Web developers and applications developers must have faced this problem related to performance of their Websites.</p>
<p>In this post I will focus of how to track website performance. Remember the websites behave different under different browsers so if your site loads faster in FireFox , it may not load with same speed in IE.</p>
<p>Firefox has some very good plugins to track the performance of your website. The two plugins which I really like are</p>
<p>1. <strong>Yslow</strong> : <a href="https://addons.mozilla.org/en-US/firefox/addon/5369">ySlow</a> analyzes web pages and suggest how to improve performance based on yahoo&#8217;s rule for high performance website. You may not agree with some of the recommendations but nevertheless , it gives very good feedback.</p>
<p>2. <strong>FireBug</strong> : <a href="https://addons.mozilla.org/en-US/firefox/addon/1843">Firebug</a> is not only an excellent  tool for editing and debugging java script, html , css  but also helps you analyze the performance of pages. <span id="more-1725"></span></p>
<p>Let us analyze <a href="http://www.skill-guru.com">Skill-Guru</a> with <strong>Yslow</strong> and see how it performs . After installing Yslow in your firefox , you will need to restart the browser.</p>
<p>Open the site , in our case www.skill-guru.com . On right side you will see a icon on right side of firefox bottom bar. Click on that.  You will be shown a screen as below.</p>
<p>Click on Run Test</p>
<p><a href="http://www.skill-guru.com/blog/wp-content/uploads/2010/03/Yslow_Welcome.png"><img class="aligncenter size-full wp-image-1746" title="Yslow_Welcome" src="http://www.skill-guru.com/blog/wp-content/uploads/2010/03/Yslow_Welcome.png" alt="YSlow Welcome" width="998" height="366" /></a></p>
<p>Once test is run ,  you can see the results under different tabs. Some o them would be like</p>
<p><a href="http://www.skill-guru.com/blog/wp-content/uploads/2010/03/Skill_Guru_Yslow_Compnent1.png"><img class="aligncenter size-full wp-image-1743" title="Skill_Guru_Yslow_Compnent" src="http://www.skill-guru.com/blog/wp-content/uploads/2010/03/Skill_Guru_Yslow_Compnent1.png" alt="Yslow performance" width="1199" height="374" /></a></p>
<p>As you can see , we are not gzipping files and this will be pointed out by Yslow.</p>
<p>Yslow grades  your site based on number of parameters.</p>
<p><a href="http://www.skill-guru.com/blog/wp-content/uploads/2010/03/Skill_Guru_Yslow_Grade.png"><img class="aligncenter size-full wp-image-1744" title="Skill_Guru_Yslow_Grade" src="http://www.skill-guru.com/blog/wp-content/uploads/2010/03/Skill_Guru_Yslow_Grade.png" alt="YSlow Grade" width="1067" height="548" /></a></p>
<p>Overall <a href="http://www.skill-guru.com">Skill-guru</a> performs reasonably well in performance although we could incorporate some suggestions of Yslow.</p>
<p>This <a href="http://developer.yahoo.com/yslow/help/index.html">YSlow user guide</a> suggesting the best practices for designing web pages.</p>
<p>Once the performance of Skill-Guru is improved based on YSlow recommendations, we will post the results.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.skill-guru.com/blog/2010/03/14/analyzing-web-site-performance-with-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open new tab instead of new window in Firefox</title>
		<link>http://www.skill-guru.com/blog/2010/03/12/open-new-tab-instead-of-new-window-in-firefox/</link>
		<comments>http://www.skill-guru.com/blog/2010/03/12/open-new-tab-instead-of-new-window-in-firefox/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 02:23:04 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[Programming / tutorials]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.skill-guru.com/blog/?p=1738</guid>
		<description><![CDATA[We had a requirement in which we wanted to open an applet in a new tab instaed of new window.
Here is how to do it
window.open(&#8221;, server[0], &#8216;height=1,width=1,left=1,top=1,status=yes,scrollbars=yes,resizable=yes&#8217;);
change this to
window.open(&#8221;, server[0]);
This will open the applet in new tab. As soon as you remove sizing parameters, it will open as a new tab.
But there is one issues [...]]]></description>
			<content:encoded><![CDATA[<p>We had a requirement in which we wanted to open an applet in a new tab instaed of new window.</p>
<p>Here is how to do it</p>
<p>window.open(&#8221;, server[0], &#8216;height=1,width=1,left=1,top=1,status=yes,scrollbars=yes,resizable=yes&#8217;);</p>
<p>change this to</p>
<p>window.open(&#8221;, server[0]);</p>
<p>This will open the applet in new tab. As soon as you remove sizing parameters, it will open as a new tab.</p>
<p>But there is one issues here. <strong>The focus is on the applet tab instead on main screen</strong>. <span id="more-1738"></span><br />
To resolve this , change default settings in firefox config.</p>
<p>browser.tabs.loadDivertedInBackground=true</p>
<p>How to do this ?</p>
<p><strong>Changing default settings in Firefox</strong></p>
<p>Type about:config in firefox address bar . It will show the following screen with warning</p>
<p><a href="http://www.skill-guru.com/blog/wp-content/uploads/2010/03/fireFox.png"><img class="aligncenter size-full wp-image-1739" title="fireFox" src="http://www.skill-guru.com/blog/wp-content/uploads/2010/03/fireFox.png" alt="firefxo config settings" width="1200" height="846" /></a></p>
<p>Click on &#8220;I will be careful I promise&#8221;. Then you will see the list of properties. Look for browser.tabs.loadDivertedInBackground which is by default <strong>false</strong>.  Double click on it and the value changes.</p>
<p>browser.tabs.loadDivertedInBackground=true.</p>
<p>Also check for this property browser.link.open_newwindow.</p>
<p>browser.link.open_newwindow = 3</p>
<p>Its value should be 3.</p>
<p>After these changes once you run your application,  the focus comes back on main window.</p>
<p>Since IE 7  supports tab , this should work on IE7. In IE6 it opens in a new window (there is no tab support in IE 6)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.skill-guru.com/blog/2010/03/12/open-new-tab-instead-of-new-window-in-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Performance improvement with Firefox 3.5</title>
		<link>http://www.skill-guru.com/blog/2009/09/22/performance-improvement-with-firefox-3-5/</link>
		<comments>http://www.skill-guru.com/blog/2009/09/22/performance-improvement-with-firefox-3-5/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 01:59:20 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[Programming / tutorials]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.skill-guru.com/blog/?p=659</guid>
		<description><![CDATA[We had an application in production running on I. You must be wondering who the hell is still on IE6.
But we have a very heavy UI with touch screen keyboard functionality and our UI consists of Yahoo&#8217;s YUI 2.7 and JSP and JSTL.  Initially we never supported Firefox and then we did not had bandwidth [...]]]></description>
			<content:encoded><![CDATA[<p>We had an application in production running on I. You must be wondering who the hell is still on IE6.</p>
<p>But we have a very heavy UI with touch screen keyboard functionality and our UI consists of Yahoo&#8217;s YUI 2.7 and JSP and JSTL.  Initially we never supported Firefox and then we did not had bandwidth to fix the whole application.</p>
<p>The new version of application when launched had a very bad performance in field with page load times &gt; 15 sec.</p>
<p>Within our facility , even on QA server we had load time of &lt; 7 seconds on IE. The same application loaded in &lt;4 sec on firefox.</p>
<p>In <em>Firefox</em> 3.5, Mozilla introduced a new high-performance <em>JavaScript engine</em> called TraceMonkey that uses just-in-time compilation and an optimization technique called tracing to deliver faster JavaScript execution.</p>
<p>A decision was taken to upgrade the application to support Firefox 3.5 and we updated the application.</p>
<p>We are scheduled to go live end of this week with new version but QA and beta testers are pretty pleased with what they are seeing in terms of performance improvement.</p>
<p>Will keep you posted.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.skill-guru.com/blog/2009/09/22/performance-improvement-with-firefox-3-5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Problems with debugging with Firefox 3.5 and firebug ?</title>
		<link>http://www.skill-guru.com/blog/2009/07/06/problems-with-debugging-with-firefox-3-5-and-firebug/</link>
		<comments>http://www.skill-guru.com/blog/2009/07/06/problems-with-debugging-with-firefox-3-5-and-firebug/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 21:23:28 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[Programming / tutorials]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://www.skill-guru.com/blog/?p=100</guid>
		<description><![CDATA[I upgraded my browser to  new version of Firefox 3.5 and then upgraded all the add ons which I was using , particularly Firebug . I  am now using Firebug 1.4.0b4
There has been some changes in the new version of firebug as compared to old 1.3 version. You can read the changes from their blog [...]]]></description>
			<content:encoded><![CDATA[<p>I upgraded my browser to  new version of Firefox 3.5 and then upgraded all the add ons which I was using , particularly Firebug . I  am now using Firebug 1.4.0b4</p>
<p>There has been some changes in the new version of firebug as compared to old 1.3 version. You can read the changes from their blog here<a href="http://blog.getfirebug.com/?p=124" target="_blank"> FireBug1.4</a></p>
<p>One of the problems I faced was activating the tabs. I had to explicitly activate the script tab and the console tab.</p>
<p>Second issue was debugger. My debugger was not running even though i had set the break points. When I went through the blog post  of firebug, I understood the reason.</p>
<p>You would have to enable the firebug by either popping it in a new window or always keeping it up. If you minimize it , it will assume that you are suspending firebug and will not get activated.</p>
<p>Since my buttons were at bottom of page, I had to minimize the firebug which caused the debugger to be suspended.</p>
<p>So I popped the firebug in new window , reloaded the page and my debugger starts to work.</p>
<p>Happy firebugging!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.skill-guru.com/blog/2009/07/06/problems-with-debugging-with-firefox-3-5-and-firebug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

