<?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 for amazing development</title>
	<atom:link href="http://amazing-development.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://amazing-development.com</link>
	<description>ruby, java and the rest</description>
	<lastBuildDate>Sun, 21 Apr 2013 09:19:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>Comment on Javascript &#8220;close hook&#8221; for browser window by schlumpf</title>
		<link>http://amazing-development.com/archives/2008/11/25/javascript-close-hook-for-browser-window/comment-page-1/#comment-275923</link>
		<dc:creator>schlumpf</dc:creator>
		<pubDate>Sun, 21 Apr 2013 09:19:53 +0000</pubDate>
		<guid isPermaLink="false">http://amazing-development.com/?p=333#comment-275923</guid>
		<description>Hi Vidya, thanks for your comment. It is not possible to distinguish between different browser close/reload events.</description>
		<content:encoded><![CDATA[<p>Hi Vidya, thanks for your comment. It is not possible to distinguish between different browser close/reload events.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Javascript &#8220;close hook&#8221; for browser window by vidya</title>
		<link>http://amazing-development.com/archives/2008/11/25/javascript-close-hook-for-browser-window/comment-page-1/#comment-267909</link>
		<dc:creator>vidya</dc:creator>
		<pubDate>Tue, 26 Mar 2013 04:58:25 +0000</pubDate>
		<guid isPermaLink="false">http://amazing-development.com/?p=333#comment-267909</guid>
		<description>hi confirmation code is working fine,but i need to display the confirmation dailogue only on closing the browser window but not on cliking the refresh button of the window ,can you plz tell me how to do this?

Thanks in advance</description>
		<content:encoded><![CDATA[<p>hi confirmation code is working fine,but i need to display the confirmation dailogue only on closing the browser window but not on cliking the refresh button of the window ,can you plz tell me how to do this?</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ant macrodef by geert3</title>
		<link>http://amazing-development.com/archives/2005/03/09/macrodef-for-ant/comment-page-1/#comment-232471</link>
		<dc:creator>geert3</dc:creator>
		<pubDate>Tue, 04 Sep 2012 15:13:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.spychalski.de/blog/archives/2005/03/09/macrodef-for-ant/#comment-232471</guid>
		<description>Great article. Helped me a lot more than all those hello-world examples. This is more like hello-real-world ;-)
Thanks!</description>
		<content:encoded><![CDATA[<p>Great article. Helped me a lot more than all those hello-world examples. This is more like hello-real-world <img src='http://amazing-development.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Javascript &#8220;close hook&#8221; for browser window by Charles</title>
		<link>http://amazing-development.com/archives/2008/11/25/javascript-close-hook-for-browser-window/comment-page-1/#comment-228755</link>
		<dc:creator>Charles</dc:creator>
		<pubDate>Tue, 31 Jul 2012 17:55:46 +0000</pubDate>
		<guid isPermaLink="false">http://amazing-development.com/?p=333#comment-228755</guid>
		<description>It helps a lot, thank you.

I could use this routine to check if the user has left out something before closing the window. Really thank you!</description>
		<content:encoded><![CDATA[<p>It helps a lot, thank you.</p>
<p>I could use this routine to check if the user has left out something before closing the window. Really thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ant help target by Nick Grealy</title>
		<link>http://amazing-development.com/archives/2005/01/28/ant-help-target/comment-page-1/#comment-225660</link>
		<dc:creator>Nick Grealy</dc:creator>
		<pubDate>Fri, 13 Jul 2012 07:03:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.spychalski.de/blog/archives/2005/01/28/ant-help-target/#comment-225660</guid>
		<description>Just a minor addition, I had to add the &quot;path&quot; to ANT.

  
    
      
    
  </description>
		<content:encoded><![CDATA[<p>Just a minor addition, I had to add the &#8220;path&#8221; to ANT.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to set up your own dyndns server (simple!) by schlumpf</title>
		<link>http://amazing-development.com/archives/2012/02/13/how-to-set-up-your-own-dyndns-server-simple/comment-page-1/#comment-218122</link>
		<dc:creator>schlumpf</dc:creator>
		<pubDate>Fri, 25 May 2012 04:13:38 +0000</pubDate>
		<guid isPermaLink="false">http://amazing-development.com/?p=524#comment-218122</guid>
		<description>Hi Bill, 
thanks for yout question. I did try the .htaccess/Rewrite Rule thing, but I noticed that you need to do a lot of configuration for the webserver itself (enable proxy etc), something people won&#039;t be able to do if they only have the webspace, but no access to the server configuration. That&#039;s why I didn&#039;t follow up on this.</description>
		<content:encoded><![CDATA[<p>Hi Bill,<br />
thanks for yout question. I did try the .htaccess/Rewrite Rule thing, but I noticed that you need to do a lot of configuration for the webserver itself (enable proxy etc), something people won&#8217;t be able to do if they only have the webspace, but no access to the server configuration. That&#8217;s why I didn&#8217;t follow up on this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to set up your own dyndns server (simple!) by Bill</title>
		<link>http://amazing-development.com/archives/2012/02/13/how-to-set-up-your-own-dyndns-server-simple/comment-page-1/#comment-217732</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Tue, 22 May 2012 23:24:09 +0000</pubDate>
		<guid isPermaLink="false">http://amazing-development.com/?p=524#comment-217732</guid>
		<description>schlumpf that was a very interesting read, im a big old noob but now I feel less empowered by all the schlupfness going on at this post. Im was going to give it a try but wanted to ask of you figured out changing htcaccess file when new IP is set?

Thanks</description>
		<content:encoded><![CDATA[<p>schlumpf that was a very interesting read, im a big old noob but now I feel less empowered by all the schlupfness going on at this post. Im was going to give it a try but wanted to ask of you figured out changing htcaccess file when new IP is set?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Thunderbird &#8216;Group by Date&#8217; and &#8216;Group by Sender&#8217; Feature by Jerry Yang</title>
		<link>http://amazing-development.com/archives/2006/01/04/thunderbird-group-by-date-feature/comment-page-1/#comment-215467</link>
		<dc:creator>Jerry Yang</dc:creator>
		<pubDate>Tue, 08 May 2012 05:12:24 +0000</pubDate>
		<guid isPermaLink="false">http://amazing-development.com/?p=171#comment-215467</guid>
		<description>Thanks.</description>
		<content:encoded><![CDATA[<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Javascript &#8220;close hook&#8221; for browser window by schlumpf</title>
		<link>http://amazing-development.com/archives/2008/11/25/javascript-close-hook-for-browser-window/comment-page-1/#comment-193210</link>
		<dc:creator>schlumpf</dc:creator>
		<pubDate>Mon, 05 Dec 2011 11:57:18 +0000</pubDate>
		<guid isPermaLink="false">http://amazing-development.com/?p=333#comment-193210</guid>
		<description>Hi Bharani, 
the return value is sent to nowhere. Or if it is, I don&#039;t know. I&#039;m not a javascript expert, just stumbled over this solution on the web and wrote it down here. Sorry, can&#039;t help you any further with that.</description>
		<content:encoded><![CDATA[<p>Hi Bharani,<br />
the return value is sent to nowhere. Or if it is, I don&#8217;t know. I&#8217;m not a javascript expert, just stumbled over this solution on the web and wrote it down here. Sorry, can&#8217;t help you any further with that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Javascript &#8220;close hook&#8221; for browser window by bharani</title>
		<link>http://amazing-development.com/archives/2008/11/25/javascript-close-hook-for-browser-window/comment-page-1/#comment-192790</link>
		<dc:creator>bharani</dc:creator>
		<pubDate>Sat, 03 Dec 2011 10:39:07 +0000</pubDate>
		<guid isPermaLink="false">http://amazing-development.com/?p=333#comment-192790</guid>
		<description>#Hi Bharani,

#I don’t think you can find out the return value. Showing the popup message is the last thing that happens in the onbeforeunload event/method, and after that, #javascript is not running any more, so you can’t do anything in your script to react to the user’s input. I’m sorry. You could do a workaround by storing the #information that the user tried to close the window BEFORE showing the message, like this:


ok but the return value is sent to where? i need that one so if we find means we can handle the allthings of browser is possible means we are done.
mohan.bharani@gmail.com</description>
		<content:encoded><![CDATA[<p>#Hi Bharani,</p>
<p>#I don’t think you can find out the return value. Showing the popup message is the last thing that happens in the onbeforeunload event/method, and after that, #javascript is not running any more, so you can’t do anything in your script to react to the user’s input. I’m sorry. You could do a workaround by storing the #information that the user tried to close the window BEFORE showing the message, like this:</p>
<p>ok but the return value is sent to where? i need that one so if we find means we can handle the allthings of browser is possible means we are done.<br />
<a href="mailto:mohan.bharani@gmail.com">mohan.bharani@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Javascript &#8220;close hook&#8221; for browser window by bharani</title>
		<link>http://amazing-development.com/archives/2008/11/25/javascript-close-hook-for-browser-window/comment-page-1/#comment-192789</link>
		<dc:creator>bharani</dc:creator>
		<pubDate>Sat, 03 Dec 2011 10:36:03 +0000</pubDate>
		<guid isPermaLink="false">http://amazing-development.com/?p=333#comment-192789</guid>
		<description>Hi  schlumpf ,

I was done task thanks for your help. And one more help if possible to handle the browser close,minimize etc in javascript or jquery if possible means i need how to handle entire browser options and properties,event 

Note:  All browsers to handle</description>
		<content:encoded><![CDATA[<p>Hi  schlumpf ,</p>
<p>I was done task thanks for your help. And one more help if possible to handle the browser close,minimize etc in javascript or jquery if possible means i need how to handle entire browser options and properties,event </p>
<p>Note:  All browsers to handle</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Javascript &#8220;close hook&#8221; for browser window by schlumpf</title>
		<link>http://amazing-development.com/archives/2008/11/25/javascript-close-hook-for-browser-window/comment-page-1/#comment-192616</link>
		<dc:creator>schlumpf</dc:creator>
		<pubDate>Fri, 02 Dec 2011 20:04:47 +0000</pubDate>
		<guid isPermaLink="false">http://amazing-development.com/?p=333#comment-192616</guid>
		<description>Hi Bharani,

I don&#039;t think you can find out the return value. Showing the popup message is the last thing that happens in the onbeforeunload event/method, and after that, javascript is not running any more, so you can&#039;t do anything in your script to react to the user&#039;s input. I&#039;m sorry. You could do a workaround by storing the information that the user tried to close the window BEFORE showing the message, like this: 
&lt;code&gt;
&lt;html&gt;&lt;body&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
  triedToClose=false;
  window.onbeforeunload = function() {
    triedToClose = true
    return &quot;Did you save your stuff?&quot;
  }

  function checkClosing() {
    if (triedToClose) {
      alert(&quot;user tried to close the window but changed his mind&quot;)
    } else {
      alert(&quot;user didn&#039;t try to close the window&quot;)
    }
  }
&lt;/script&gt;

&lt;pre&gt;
To use: 

1. click on the test link, see what happens.
2. try to close the window (browser (x)) - then select &quot;stay on page&quot;
3. click on the test link again - see that the message changed. 

&lt;a href=&quot;#&quot; onclick=&quot;checkClosing()&quot; rel=&quot;nofollow&quot;&gt;Some test link&lt;/a&gt;
&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;
&lt;/code&gt;
Please note that you can only evaluate the result if the user performs some action on your page, such as clicking on the test link. You would need to add the checkClosing() call to all your links and buttons and could even add it to the onbeforeunload function itself. not very elegant but the best I can do. 

Hope this helps!</description>
		<content:encoded><![CDATA[<p>Hi Bharani,</p>
<p>I don&#8217;t think you can find out the return value. Showing the popup message is the last thing that happens in the onbeforeunload event/method, and after that, javascript is not running any more, so you can&#8217;t do anything in your script to react to the user&#8217;s input. I&#8217;m sorry. You could do a workaround by storing the information that the user tried to close the window BEFORE showing the message, like this:<br />
<code><br />
&lt;html>&lt;body><br />
&lt;script type="text/javascript"><br />
  triedToClose=false;<br />
  window.onbeforeunload = function() {<br />
    triedToClose = true<br />
    return "Did you save your stuff?"<br />
  }</p>
<p>  function checkClosing() {<br />
    if (triedToClose) {<br />
      alert("user tried to close the window but changed his mind")<br />
    } else {<br />
      alert("user didn't try to close the window")<br />
    }<br />
  }<br />
&lt;/script></p>
<p>&lt;pre><br />
To use: </p>
<p>1. click on the test link, see what happens.<br />
2. try to close the window (browser (x)) - then select "stay on page"<br />
3. click on the test link again - see that the message changed. </p>
<p>&lt;a href="#" onclick="checkClosing()" rel="nofollow">Some test link&lt;/a><br />
&lt;/pre>&lt;/body>&lt;/html><br />
</code><br />
Please note that you can only evaluate the result if the user performs some action on your page, such as clicking on the test link. You would need to add the checkClosing() call to all your links and buttons and could even add it to the onbeforeunload function itself. not very elegant but the best I can do. </p>
<p>Hope this helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Javascript &#8220;close hook&#8221; for browser window by Bharani</title>
		<link>http://amazing-development.com/archives/2008/11/25/javascript-close-hook-for-browser-window/comment-page-1/#comment-192554</link>
		<dc:creator>Bharani</dc:creator>
		<pubDate>Fri, 02 Dec 2011 14:10:42 +0000</pubDate>
		<guid isPermaLink="false">http://amazing-development.com/?p=333#comment-192554</guid>
		<description>&lt;!--  



var confirmclose = true;
var sucess = false;
var ajaxSubmit = false;

function closeSession(){
	if(confirmclose) {
		return &quot;close&quot;;
	}
}

window.onbeforeunload = closeSession;





&lt;a href=&quot;http://rtscntl/&quot; rel=&quot;nofollow&quot;&gt;test&lt;/a&gt;

&lt;a href=&quot;http://www.google.com/&quot; rel=&quot;nofollow&quot;&gt;Google&lt;/a&gt;
fewfwef

--&gt;</description>
		<content:encoded><![CDATA[<p>&lt;!&#8211;  </p>
<p>var confirmclose = true;<br />
var sucess = false;<br />
var ajaxSubmit = false;</p>
<p>function closeSession(){<br />
	if(confirmclose) {<br />
		return &#8220;close&#8221;;<br />
	}<br />
}</p>
<p>window.onbeforeunload = closeSession;</p>
<p><a href="http://rtscntl/" rel="nofollow">test</a></p>
<p><a href="http://www.google.com/" rel="nofollow">Google</a><br />
fewfwef</p>
<p>&#8211;&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Javascript &#8220;close hook&#8221; for browser window by Bharani</title>
		<link>http://amazing-development.com/archives/2008/11/25/javascript-close-hook-for-browser-window/comment-page-1/#comment-192553</link>
		<dc:creator>Bharani</dc:creator>
		<pubDate>Fri, 02 Dec 2011 14:09:46 +0000</pubDate>
		<guid isPermaLink="false">http://amazing-development.com/?p=333#comment-192553</guid>
		<description>



var confirmclose = true;
var sucess = false;
var ajaxSubmit = false;

function closeSession(){
	if(confirmclose) {
		return &quot;close&quot;;   i want to find retrun value and tehn use ajax function to update isActive field in user table
	}
}

window.onbeforeunload = closeSession;





&lt;a href=&quot;http://rtscntl/&quot; rel=&quot;nofollow&quot;&gt;test&lt;/a&gt;

fewfwef




i need all these happen only when browser close [x] is clicked</description>
		<content:encoded><![CDATA[<p>var confirmclose = true;<br />
var sucess = false;<br />
var ajaxSubmit = false;</p>
<p>function closeSession(){<br />
	if(confirmclose) {<br />
		return &#8220;close&#8221;;   i want to find retrun value and tehn use ajax function to update isActive field in user table<br />
	}<br />
}</p>
<p>window.onbeforeunload = closeSession;</p>
<p><a href="http://rtscntl/" rel="nofollow">test</a></p>
<p>fewfwef</p>
<p>i need all these happen only when browser close [x] is clicked</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Javascript &#8220;close hook&#8221; for browser window by Bharani</title>
		<link>http://amazing-development.com/archives/2008/11/25/javascript-close-hook-for-browser-window/comment-page-1/#comment-192523</link>
		<dc:creator>Bharani</dc:creator>
		<pubDate>Fri, 02 Dec 2011 09:10:55 +0000</pubDate>
		<guid isPermaLink="false">http://amazing-development.com/?p=333#comment-192523</guid>
		<description>

  

var confirmClose  = true;
var keyCode = 0;
 
function closeSession(evt){
	if(confirmClose){
		return &#039;Bharani&#039;;    i want to find retrun value and tehn use ajax function to update isActive field in user table
	}
}



window.onbeforeunload = closeSession;

 


 
&lt;!--    doSomething(event);--&gt;
 
 
&lt;a href=&quot;http://rtscntl/&quot; rel=&quot;nofollow&quot;&gt;test&lt;/a&gt;
 

&lt;a href=&quot;http://www.google.com/&quot; rel=&quot;nofollow&quot;&gt;Google&lt;/a&gt;



 



i need all these happen only when browser close [x] is clicked</description>
		<content:encoded><![CDATA[<p>var confirmClose  = true;<br />
var keyCode = 0;</p>
<p>function closeSession(evt){<br />
	if(confirmClose){<br />
		return &#8216;Bharani&#8217;;    i want to find retrun value and tehn use ajax function to update isActive field in user table<br />
	}<br />
}</p>
<p>window.onbeforeunload = closeSession;</p>
<p>&lt;!&#8211;    doSomething(event);&#8211;&gt;</p>
<p><a href="http://rtscntl/" rel="nofollow">test</a></p>
<p><a href="http://www.google.com/" rel="nofollow">Google</a></p>
<p>i need all these happen only when browser close [x] is clicked</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Javascript &#8220;close hook&#8221; for browser window by Bharani</title>
		<link>http://amazing-development.com/archives/2008/11/25/javascript-close-hook-for-browser-window/comment-page-1/#comment-192498</link>
		<dc:creator>Bharani</dc:creator>
		<pubDate>Fri, 02 Dec 2011 07:15:05 +0000</pubDate>
		<guid isPermaLink="false">http://amazing-development.com/?p=333#comment-192498</guid>
		<description>i need all these happen only when browser close [x] is clicked</description>
		<content:encoded><![CDATA[<p>i need all these happen only when browser close [x] is clicked</p>
]]></content:encoded>
	</item>
</channel>
</rss>
