<?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: Browser Back Button Detection</title>
	<atom:link href="http://www.bajb.net/2010/02/browser-back-button-detection/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bajb.net/2010/02/browser-back-button-detection/</link>
	<description>Just Develop It</description>
	<lastBuildDate>Fri, 03 Feb 2012 01:15:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Brooke Bryan</title>
		<link>http://www.bajb.net/2010/02/browser-back-button-detection/comment-page-2/#comment-824</link>
		<dc:creator>Brooke Bryan</dc:creator>
		<pubDate>Fri, 03 Feb 2012 01:15:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.bajb.net/?p=150#comment-824</guid>
		<description>You could use onbeforeunload and return the string, however it will only give you ok and cancel I believe (text changes per browser), so you get the functionality, but limited customization</description>
		<content:encoded><![CDATA[<p>You could use onbeforeunload and return the string, however it will only give you ok and cancel I believe (text changes per browser), so you get the functionality, but limited customization</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sanjeev</title>
		<link>http://www.bajb.net/2010/02/browser-back-button-detection/comment-page-2/#comment-822</link>
		<dc:creator>Sanjeev</dc:creator>
		<pubDate>Mon, 30 Jan 2012 09:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.bajb.net/?p=150#comment-822</guid>
		<description>Great help Brooke, But i need something like 
If i press back button than one alert will appear that will ask &#039;Yes&#039; or &#039;No&#039;. When i select &#039;No&#039; than i want to stay on same page otherwise i will be logout or on login page. So could you just help me out on this. 

Thanks,
Sanjeev</description>
		<content:encoded><![CDATA[<p>Great help Brooke, But i need something like<br />
If i press back button than one alert will appear that will ask &#8216;Yes&#8217; or &#8216;No&#8217;. When i select &#8216;No&#8217; than i want to stay on same page otherwise i will be logout or on login page. So could you just help me out on this. </p>
<p>Thanks,<br />
Sanjeev</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MMeah</title>
		<link>http://www.bajb.net/2010/02/browser-back-button-detection/comment-page-2/#comment-821</link>
		<dc:creator>MMeah</dc:creator>
		<pubDate>Wed, 25 Jan 2012 07:16:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.bajb.net/?p=150#comment-821</guid>
		<description>This is great work that you did. Mad props. Works on my Android 2.2 Galaxy S.

May I get permission to use this in a jQuery Mobile project I am working on? I need to detect if the user clicked on the back arrow on an iOS or Android device.</description>
		<content:encoded><![CDATA[<p>This is great work that you did. Mad props. Works on my Android 2.2 Galaxy S.</p>
<p>May I get permission to use this in a jQuery Mobile project I am working on? I need to detect if the user clicked on the back arrow on an iOS or Android device.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fabioem</title>
		<link>http://www.bajb.net/2010/02/browser-back-button-detection/comment-page-2/#comment-815</link>
		<dc:creator>fabioem</dc:creator>
		<pubDate>Sun, 08 Jan 2012 17:36:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.bajb.net/?p=150#comment-815</guid>
		<description>Fantastic!!!!</description>
		<content:encoded><![CDATA[<p>Fantastic!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajveer singh</title>
		<link>http://www.bajb.net/2010/02/browser-back-button-detection/comment-page-2/#comment-811</link>
		<dc:creator>Rajveer singh</dc:creator>
		<pubDate>Fri, 06 Jan 2012 07:27:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.bajb.net/?p=150#comment-811</guid>
		<description>awesome work Brooke....very nice...best of luck for future...:)</description>
		<content:encoded><![CDATA[<p>awesome work Brooke&#8230;.very nice&#8230;best of luck for future&#8230;:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brooke Bryan</title>
		<link>http://www.bajb.net/2010/02/browser-back-button-detection/comment-page-2/#comment-809</link>
		<dc:creator>Brooke Bryan</dc:creator>
		<pubDate>Wed, 04 Jan 2012 19:39:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.bajb.net/?p=150#comment-809</guid>
		<description>Maybe this thread would be helpful for you: http://stackoverflow.com/questions/680785/on-window-location-hash-change</description>
		<content:encoded><![CDATA[<p>Maybe this thread would be helpful for you: <a href="http://stackoverflow.com/questions/680785/on-window-location-hash-change" rel="nofollow">http://stackoverflow.com/questions/680785/on-window-location-hash-change</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Am</title>
		<link>http://www.bajb.net/2010/02/browser-back-button-detection/comment-page-2/#comment-808</link>
		<dc:creator>Am</dc:creator>
		<pubDate>Wed, 04 Jan 2012 19:22:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.bajb.net/?p=150#comment-808</guid>
		<description>Agreed on your thought of not using jQuery when not needed. I am developing something for the mobile and hence all are WebKit based browsers (iPhone &amp; Android).  The timer thing makes me nervous and this page can go in the background for ages. Hence I was looking for a way to not use the timer based way. Do you know if there is a method which works on Safari without the timer? It can use jquery too if it helps since I use it anyways for some other things we are doing.</description>
		<content:encoded><![CDATA[<p>Agreed on your thought of not using jQuery when not needed. I am developing something for the mobile and hence all are WebKit based browsers (iPhone &amp; Android).  The timer thing makes me nervous and this page can go in the background for ages. Hence I was looking for a way to not use the timer based way. Do you know if there is a method which works on Safari without the timer? It can use jquery too if it helps since I use it anyways for some other things we are doing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brooke Bryan</title>
		<link>http://www.bajb.net/2010/02/browser-back-button-detection/comment-page-2/#comment-807</link>
		<dc:creator>Brooke Bryan</dc:creator>
		<pubDate>Wed, 04 Jan 2012 16:58:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.bajb.net/?p=150#comment-807</guid>
		<description>with the OnBack function, you could just check the output of a js confirm(), and then push the history.back() within there.</description>
		<content:encoded><![CDATA[<p>with the OnBack function, you could just check the output of a js confirm(), and then push the history.back() within there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brooke Bryan</title>
		<link>http://www.bajb.net/2010/02/browser-back-button-detection/comment-page-2/#comment-806</link>
		<dc:creator>Brooke Bryan</dc:creator>
		<pubDate>Wed, 04 Jan 2012 16:48:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.bajb.net/?p=150#comment-806</guid>
		<description>You can just change the OnBack function to stop the history.back() from being called.  or, by just taking history.back() out of the code completely.</description>
		<content:encoded><![CDATA[<p>You can just change the OnBack function to stop the history.back() from being called.  or, by just taking history.back() out of the code completely.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brooke Bryan</title>
		<link>http://www.bajb.net/2010/02/browser-back-button-detection/comment-page-2/#comment-805</link>
		<dc:creator>Brooke Bryan</dc:creator>
		<pubDate>Wed, 04 Jan 2012 16:46:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.bajb.net/?p=150#comment-805</guid>
		<description>The main reason for not using the hash is just to have less visible impact for customers.  There is however a watch setup for the hash in Safari/Chrome as the iframe hack isnt supported.

The code provided also does not use jQuery, which would make things easier, but there is no need to include all of jQuery when its not needed</description>
		<content:encoded><![CDATA[<p>The main reason for not using the hash is just to have less visible impact for customers.  There is however a watch setup for the hash in Safari/Chrome as the iframe hack isnt supported.</p>
<p>The code provided also does not use jQuery, which would make things easier, but there is no need to include all of jQuery when its not needed</p>
]]></content:encoded>
	</item>
</channel>
</rss>

