<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Chrome problems with window focus (workaround)</title>
	<atom:link href="http://www.razzed.com/2009/03/16/chrome-problems-window-focus-workaround/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.razzed.com/2009/03/16/chrome-problems-window-focus-workaround/</link>
	<description>Blunt Musings: Analytics, Search, Marketing, and Privacy. And other random thoughts.</description>
	<lastBuildDate>Sun, 05 Sep 2010 20:37:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: kent</title>
		<link>http://www.razzed.com/2009/03/16/chrome-problems-window-focus-workaround/comment-page-1/#comment-207</link>
		<dc:creator>kent</dc:creator>
		<pubDate>Mon, 16 Aug 2010 19:22:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.razzed.com/?p=281#comment-207</guid>
		<description>@Nick: The original method (closing, then opening) in the post above does work on Chrome 5.0.375.126 on Mac OS X. I haven&#039;t tried the alternate methods proposed...</description>
		<content:encoded><![CDATA[<p>@Nick: The original method (closing, then opening) in the post above does work on Chrome 5.0.375.126 on Mac OS X. I haven&#8217;t tried the alternate methods proposed&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://www.razzed.com/2009/03/16/chrome-problems-window-focus-workaround/comment-page-1/#comment-206</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Mon, 16 Aug 2010 19:05:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.razzed.com/?p=281#comment-206</guid>
		<description>This method (to call blur() then focus() ) does not work for me on Chrome 5.0.375.126 on Mac OS X.
Any workarounds found for Chrome on Mac?</description>
		<content:encoded><![CDATA[<p>This method (to call blur() then focus() ) does not work for me on Chrome 5.0.375.126 on Mac OS X.<br />
Any workarounds found for Chrome on Mac?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karandeep Singh</title>
		<link>http://www.razzed.com/2009/03/16/chrome-problems-window-focus-workaround/comment-page-1/#comment-190</link>
		<dc:creator>Karandeep Singh</dc:creator>
		<pubDate>Wed, 26 May 2010 05:46:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.razzed.com/?p=281#comment-190</guid>
		<description>var nextObject = document.getElementById(&quot;select_combo_box&quot;);
		nextObject.focus();
	-----------------------------------------------
that example is not working in Chrome and safari.
Please give correct example for it that can run on every browser using Javascript or jQuery or MooTools</description>
		<content:encoded><![CDATA[<p>var nextObject = document.getElementById(&#8220;select_combo_box&#8221;);<br />
		nextObject.focus();<br />
	&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
that example is not working in Chrome and safari.<br />
Please give correct example for it that can run on every browser using Javascript or jQuery or MooTools</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.razzed.com/2009/03/16/chrome-problems-window-focus-workaround/comment-page-1/#comment-180</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Sun, 02 May 2010 11:39:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.razzed.com/?p=281#comment-180</guid>
		<description>Thanks a lot, work fine for me!</description>
		<content:encoded><![CDATA[<p>Thanks a lot, work fine for me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: emurmur</title>
		<link>http://www.razzed.com/2009/03/16/chrome-problems-window-focus-workaround/comment-page-1/#comment-162</link>
		<dc:creator>emurmur</dc:creator>
		<pubDate>Sun, 28 Feb 2010 22:26:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.razzed.com/?p=281#comment-162</guid>
		<description>Works for me in 

IE8
FireFox 3.5.8
Windows Safari 4.0.4
Chrome 4.1

Does not work in Opera 9.64</description>
		<content:encoded><![CDATA[<p>Works for me in </p>
<p>IE8<br />
FireFox 3.5.8<br />
Windows Safari 4.0.4<br />
Chrome 4.1</p>
<p>Does not work in Opera 9.64</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ritwick</title>
		<link>http://www.razzed.com/2009/03/16/chrome-problems-window-focus-workaround/comment-page-1/#comment-142</link>
		<dc:creator>ritwick</dc:creator>
		<pubDate>Thu, 10 Dec 2009 20:19:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.razzed.com/?p=281#comment-142</guid>
		<description>Works in:
IE 6+
Firefox 3
Chrome 3

Does not work in:
Safari 3.1
Opera 9.63</description>
		<content:encoded><![CDATA[<p>Works in:<br />
IE 6+<br />
Firefox 3<br />
Chrome 3</p>
<p>Does not work in:<br />
Safari 3.1<br />
Opera 9.63</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Djaity</title>
		<link>http://www.razzed.com/2009/03/16/chrome-problems-window-focus-workaround/comment-page-1/#comment-141</link>
		<dc:creator>Djaity</dc:creator>
		<pubDate>Wed, 30 Sep 2009 09:47:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.razzed.com/?p=281#comment-141</guid>
		<description>Instead of closing the popup, then open a new one, 
I&#039;ve found out the following sequence was also fixing the Chrome (WebKit) bug.

if(typeof(win)!=&#039;undefined&#039; &amp;&amp; !win.closed) {
  win.blur(); 
}
else {
  win = window.open(mypage_location, mypage_name, mypage_option);
}
win.focus();

In other words, if you use blur() on the window first then focus() function works. 
Note: We&#039;re currently using Chrome 3.0.195.21 / working on XP.
I haven&#039;t tested yet on Safari and/or other platforms, any feedbacks on other platforms will be well-appreciated.
Thanks.</description>
		<content:encoded><![CDATA[<p>Instead of closing the popup, then open a new one,<br />
I&#8217;ve found out the following sequence was also fixing the Chrome (WebKit) bug.</p>
<p>if(typeof(win)!=&#8217;undefined&#8217; &amp;&amp; !win.closed) {<br />
  win.blur();<br />
}<br />
else {<br />
  win = window.open(mypage_location, mypage_name, mypage_option);<br />
}<br />
win.focus();</p>
<p>In other words, if you use blur() on the window first then focus() function works.<br />
Note: We&#8217;re currently using Chrome 3.0.195.21 / working on XP.<br />
I haven&#8217;t tested yet on Safari and/or other platforms, any feedbacks on other platforms will be well-appreciated.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hazg</title>
		<link>http://www.razzed.com/2009/03/16/chrome-problems-window-focus-workaround/comment-page-1/#comment-137</link>
		<dc:creator>hazg</dc:creator>
		<pubDate>Tue, 01 Sep 2009 15:23:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.razzed.com/?p=281#comment-137</guid>
		<description>u can do some thing like this:

in parent:

var w = window.open(href,&#039;name&#039;);
if(w.focus)	
  w.focus();


in child window:

if(window.parent &amp;&amp; (navigator.userAgent.indexOf(&#039;Chrome/&#039;) &gt; 0)
  window.parent.blur();


This method faster, and u can open focus window many times without storing var w = ...

sorry for my engliache ))))</description>
		<content:encoded><![CDATA[<p>u can do some thing like this:</p>
<p>in parent:</p>
<p>var w = window.open(href,&#8217;name&#8217;);<br />
if(w.focus)<br />
  w.focus();</p>
<p>in child window:</p>
<p>if(window.parent &#038;&#038; (navigator.userAgent.indexOf(&#8216;Chrome/&#8217;) > 0)<br />
  window.parent.blur();</p>
<p>This method faster, and u can open focus window many times without storing var w = &#8230;</p>
<p>sorry for my engliache ))))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://www.razzed.com/2009/03/16/chrome-problems-window-focus-workaround/comment-page-1/#comment-114</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 17 Mar 2009 15:57:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.razzed.com/?p=281#comment-114</guid>
		<description>Google chrome is light and fast, but it seems like it&#039;s having some problem with javascripts.</description>
		<content:encoded><![CDATA[<p>Google chrome is light and fast, but it seems like it&#8217;s having some problem with javascripts.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
