<?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: Ajax Cookbook: Helpful JavaScript tips</title>
	<atom:link href="http://ajaxian.com/archives/ajax-cookbook-helpful-javascript-tips/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/ajax-cookbook-helpful-javascript-tips</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Wed, 17 Mar 2010 19:36:37 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sam Hennessy</title>
		<link>http://ajaxian.com/archives/ajax-cookbook-helpful-javascript-tips/comment-page-1#comment-245387</link>
		<dc:creator>Sam Hennessy</dc:creator>
		<pubDate>Tue, 19 Dec 2006 15:42:22 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/ajax-cookbook-helpful-javascript-tips#comment-245387</guid>
		<description>Ron, there are always exceptions, but most of the time changing right click behavior it a bad usability choice.</description>
		<content:encoded><![CDATA[<p>Ron, there are always exceptions, but most of the time changing right click behavior it a bad usability choice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron</title>
		<link>http://ajaxian.com/archives/ajax-cookbook-helpful-javascript-tips/comment-page-1#comment-245330</link>
		<dc:creator>Ron</dc:creator>
		<pubDate>Mon, 18 Dec 2006 11:58:53 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/ajax-cookbook-helpful-javascript-tips#comment-245330</guid>
		<description>Laurent, actually, there are some instances where disabling the browser&#039;s context menu is useful. For instance, if you are building a browser based application, where you want to use the right click to show your own context menu, which might make more sense to the user than the browser&#039;s menu. At my work, we&#039;re using it in our CMS, and I&#039;ve never heard any complaints about it.</description>
		<content:encoded><![CDATA[<p>Laurent, actually, there are some instances where disabling the browser&#8217;s context menu is useful. For instance, if you are building a browser based application, where you want to use the right click to show your own context menu, which might make more sense to the user than the browser&#8217;s menu. At my work, we&#8217;re using it in our CMS, and I&#8217;ve never heard any complaints about it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris Zyp</title>
		<link>http://ajaxian.com/archives/ajax-cookbook-helpful-javascript-tips/comment-page-1#comment-245314</link>
		<dc:creator>Kris Zyp</dc:creator>
		<pubDate>Sun, 17 Dec 2006 07:26:03 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/ajax-cookbook-helpful-javascript-tips#comment-245314</guid>
		<description>Laurent, excellent commentary and corrections, your optimizations are indeed much better than Bret&#039;s.</description>
		<content:encoded><![CDATA[<p>Laurent, excellent commentary and corrections, your optimizations are indeed much better than Bret&#8217;s.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laurent</title>
		<link>http://ajaxian.com/archives/ajax-cookbook-helpful-javascript-tips/comment-page-1#comment-245311</link>
		<dc:creator>Laurent</dc:creator>
		<pubDate>Sun, 17 Dec 2006 02:13:10 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/ajax-cookbook-helpful-javascript-tips#comment-245311</guid>
		<description>bahh, why would he obviOusly know anything better ? because he worked on the first google maps, that&#039;s far to be a reference to me. The 4 ONLY examples are far to be 

disabling context menu
 FF1.5,FF2, Opera8.52,Opera9 = no effect, considering to change the default behavior of the right mouse button is a big UI mistake. Dont consider it. Ever.

debug log
 document.write, window.open, awfull tips, dont consider using it

cancel events
 2 tests for each functions for EVERY cancel, no optimization at all, dont use it

cross browser events
 nothing new exposed, it has been better explained a lot all over the web, once again there is NO optimization at all, no way to control the execution scope, no way to choose between DOM0 and DOM2 registration, no way to add an arbitrary object to the listener. Very bad point, you have to keep the reference to the registered listener if you want to remove it before the document unload. Dont use it, better look for a robust addEvent(), it&#039;s easy to found, it was all over the web 6 months ago.

Let&#039;s hope it will get any better in the future, but it looks like a dead horse giving deprecated tips with bad code practice, i doubt it to be of any use.</description>
		<content:encoded><![CDATA[<p>bahh, why would he obviOusly know anything better ? because he worked on the first google maps, that&#8217;s far to be a reference to me. The 4 ONLY examples are far to be </p>
<p>disabling context menu<br />
 FF1.5,FF2, Opera8.52,Opera9 = no effect, considering to change the default behavior of the right mouse button is a big UI mistake. Dont consider it. Ever.</p>
<p>debug log<br />
 document.write, window.open, awfull tips, dont consider using it</p>
<p>cancel events<br />
 2 tests for each functions for EVERY cancel, no optimization at all, dont use it</p>
<p>cross browser events<br />
 nothing new exposed, it has been better explained a lot all over the web, once again there is NO optimization at all, no way to control the execution scope, no way to choose between DOM0 and DOM2 registration, no way to add an arbitrary object to the listener. Very bad point, you have to keep the reference to the registered listener if you want to remove it before the document unload. Dont use it, better look for a robust addEvent(), it&#8217;s easy to found, it was all over the web 6 months ago.</p>
<p>Let&#8217;s hope it will get any better in the future, but it looks like a dead horse giving deprecated tips with bad code practice, i doubt it to be of any use.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
