<?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: Avoiding Evil JavaScript</title>
	<atom:link href="http://www.sitepoint.com/blogs/2007/02/09/avoiding-evil-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sitepoint.com/blogs/2007/02/09/avoiding-evil-javascript/</link>
	<description>News, opinion, and fresh thinking for web developers and designers. The official podcast of sitepoint.com.</description>
	<lastBuildDate>Sat, 07 Nov 2009 23:35:20 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: alec9111</title>
		<link>http://www.sitepoint.com/blogs/2007/02/09/avoiding-evil-javascript/comment-page-1/#comment-210877</link>
		<dc:creator>alec9111</dc:creator>
		<pubDate>Sun, 25 Mar 2007 01:46:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1849#comment-210877</guid>
		<description>Yeah, InfoWorld also reported today that JavaScript misuse leads to the major flaw on Internet these days: &lt;a href=&quot;http://www.ebrandmarketing.com.au/2007/03/25/avoid-using-javascript/&quot; rel=&quot;nofollow&quot;&gt;JavaScript Misuse&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Yeah, InfoWorld also reported today that JavaScript misuse leads to the major flaw on Internet these days: <a href="http://www.ebrandmarketing.com.au/2007/03/25/avoid-using-javascript/" rel="nofollow">JavaScript Misuse</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://www.sitepoint.com/blogs/2007/02/09/avoiding-evil-javascript/comment-page-1/#comment-187291</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Fri, 23 Feb 2007 15:16:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1849#comment-187291</guid>
		<description>Sorry, all that &quot;solution&quot; does is send HTTP headers to refresh. That is not a solution to the session timeout problem. In fact if it were pre-set (as your session duration is, it&#039;s not user-configurable) on page load, it could be an accessibility issue because refreshing content without the user&#039;s action is a no-no. It also breaks down in a multi-tab or child window setting just like the Javascript version. Example: Window 1 is opened and set to refresh to the logout page in 30 minutes (session length). 5 minutes later you open a link in a new window or new tab. The session is shared and session timeout is reset. But your first page will still refresh to the warning or logout page 5 minutes before the session will actually end. At least in Javascript you can attempt to cancel timers on parent windows when a child window is opened to prevent this annoyance, but there&#039;s still not a perfect solution.</description>
		<content:encoded><![CDATA[<p>Sorry, all that &#8220;solution&#8221; does is send HTTP headers to refresh. That is not a solution to the session timeout problem. In fact if it were pre-set (as your session duration is, it&#8217;s not user-configurable) on page load, it could be an accessibility issue because refreshing content without the user&#8217;s action is a no-no. It also breaks down in a multi-tab or child window setting just like the Javascript version. Example: Window 1 is opened and set to refresh to the logout page in 30 minutes (session length). 5 minutes later you open a link in a new window or new tab. The session is shared and session timeout is reset. But your first page will still refresh to the warning or logout page 5 minutes before the session will actually end. At least in Javascript you can attempt to cancel timers on parent windows when a child window is opened to prevent this annoyance, but there&#8217;s still not a perfect solution.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: AutisticCuckoo</title>
		<link>http://www.sitepoint.com/blogs/2007/02/09/avoiding-evil-javascript/comment-page-1/#comment-185753</link>
		<dc:creator>AutisticCuckoo</dc:creator>
		<pubDate>Wed, 21 Feb 2007 17:42:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1849#comment-185753</guid>
		<description>For those who want to see a JavaScript-free solution to tbm&#039;s problem, take a look at Mike Cherim&#039;s brilliant AutoRun at http://green-beast.com/build-css/

This handles user-settable timeouts without the need for JavaScript and it&#039;s fully accessible. (Note that the site &lt;em&gt;content&lt;/em&gt;, the tutorial, is still under development.)

&lt;blockquote&gt;Javascript is great and people who have javascript turn off should suffer,&lt;/blockquote&gt;
What a friendly and considerate person you seem to be ...</description>
		<content:encoded><![CDATA[<p>For those who want to see a JavaScript-free solution to tbm&#8217;s problem, take a look at Mike Cherim&#8217;s brilliant AutoRun at <a href="http://green-beast.com/build-css/" rel="nofollow">http://green-beast.com/build-css/</a></p>
<p>This handles user-settable timeouts without the need for JavaScript and it&#8217;s fully accessible. (Note that the site <em>content</em>, the tutorial, is still under development.)</p>
<blockquote><p>Javascript is great and people who have javascript turn off should suffer,</p></blockquote>
<p>What a friendly and considerate person you seem to be &#8230;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.sitepoint.com/blogs/2007/02/09/avoiding-evil-javascript/comment-page-1/#comment-185597</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 21 Feb 2007 13:42:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1849#comment-185597</guid>
		<description>oh my god :&#124; i have installed flash just because of youtube type of sites(flash games are boring to me) and flash block to not see/hear dumb flash stuff on sites(i was ok with flash advertisements until they started to use sound).If something is evil its flash.

Javascript is great and people who have javascript turn off should suffer, people who have just one eye see less so sites should all be working best in 800x600? javascript allows websites to look better and work better(not refresh with ajax). And by the way nobody cares about people that use just keyboard or some weird browsers(i found many sites that work good only in IE).
You gave only one good argument that Javascript could be insecure, but ... IE is also known for that and Firefox had more than one bug.</description>
		<content:encoded><![CDATA[<p>oh my god :| i have installed flash just because of youtube type of sites(flash games are boring to me) and flash block to not see/hear dumb flash stuff on sites(i was ok with flash advertisements until they started to use sound).If something is evil its flash.</p>
<p>Javascript is great and people who have javascript turn off should suffer, people who have just one eye see less so sites should all be working best in 800&#215;600? javascript allows websites to look better and work better(not refresh with ajax). And by the way nobody cares about people that use just keyboard or some weird browsers(i found many sites that work good only in IE).<br />
You gave only one good argument that Javascript could be insecure, but &#8230; IE is also known for that and Firefox had more than one bug.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: AlexW</title>
		<link>http://www.sitepoint.com/blogs/2007/02/09/avoiding-evil-javascript/comment-page-1/#comment-184239</link>
		<dc:creator>AlexW</dc:creator>
		<pubDate>Tue, 20 Feb 2007 03:08:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1849#comment-184239</guid>
		<description>&lt;blockquote&gt;Finally if a user disables JavaScript, they should expect a poor web browsing experience. JavaScript is the programming platform which has enabled Web 2.0, and revoking JavaScript is akin to staying on your horse because cars are too noisy.&lt;/blockquote&gt;

Certainly sounds like they should expect it from you.

So, if I want to use my JS-less phone browser to access your online shopping list app, I shouldn&#039;t be cranky because it can&#039;t operate without Javascript?

Or similarly, if I disabled JS on that phone browser because I didn&#039;t want it to connect to the server (at my expense) every time I ticked an item off the list, and the app then doesn&#039;t work, &#039;bad luck&#039;?  

Regardless of the fact that if I&#039;d been using the same application 18 months earlier -- before it had been &#039;&lt;em&gt;improved&lt;/em&gt;&#039; with AJAX -- it would have run perfectly? 

Evolution, I say!</description>
		<content:encoded><![CDATA[<blockquote><p>Finally if a user disables JavaScript, they should expect a poor web browsing experience. JavaScript is the programming platform which has enabled Web 2.0, and revoking JavaScript is akin to staying on your horse because cars are too noisy.</p></blockquote>
<p>Certainly sounds like they should expect it from you.</p>
<p>So, if I want to use my JS-less phone browser to access your online shopping list app, I shouldn&#8217;t be cranky because it can&#8217;t operate without Javascript?</p>
<p>Or similarly, if I disabled JS on that phone browser because I didn&#8217;t want it to connect to the server (at my expense) every time I ticked an item off the list, and the app then doesn&#8217;t work, &#8216;bad luck&#8217;?  </p>
<p>Regardless of the fact that if I&#8217;d been using the same application 18 months earlier &#8212; before it had been &#8216;<em>improved</em>&#8216; with AJAX &#8212; it would have run perfectly? </p>
<p>Evolution, I say!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: CA</title>
		<link>http://www.sitepoint.com/blogs/2007/02/09/avoiding-evil-javascript/comment-page-1/#comment-184158</link>
		<dc:creator>CA</dc:creator>
		<pubDate>Tue, 20 Feb 2007 00:29:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1849#comment-184158</guid>
		<description>Whenever I see a blanket sweep like this I shudder.   It would be great if every website (and application) conformed to accessibility standards, but the cost of doing so would render many of those websites impractical.  Furthermore, many new websites relies on interactivity that would not be possible without a mouse and without JavaScript.

I am part of a team developing an &#039;Ajax&#039; Asset Management package. It is a spatial application, whose primary benefit is the ability for ordinary people to be able to visualize their assets.  It would make absolutely no sense to provide a version that can be used without a mouse, as spatial input (x,y co-ordinates which are most logically input via a mouse) is critical for its usability.

Finally if a user disables JavaScript, they should expect a poor web browsing experience.  JavaScript is the programming platform which has enabled Web 2.0, and revoking JavaScript is akin to staying on your horse because cars are too noisy.</description>
		<content:encoded><![CDATA[<p>Whenever I see a blanket sweep like this I shudder.   It would be great if every website (and application) conformed to accessibility standards, but the cost of doing so would render many of those websites impractical.  Furthermore, many new websites relies on interactivity that would not be possible without a mouse and without JavaScript.</p>
<p>I am part of a team developing an &#8216;Ajax&#8217; Asset Management package. It is a spatial application, whose primary benefit is the ability for ordinary people to be able to visualize their assets.  It would make absolutely no sense to provide a version that can be used without a mouse, as spatial input (x,y co-ordinates which are most logically input via a mouse) is critical for its usability.</p>
<p>Finally if a user disables JavaScript, they should expect a poor web browsing experience.  JavaScript is the programming platform which has enabled Web 2.0, and revoking JavaScript is akin to staying on your horse because cars are too noisy.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: AN</title>
		<link>http://www.sitepoint.com/blogs/2007/02/09/avoiding-evil-javascript/comment-page-1/#comment-184119</link>
		<dc:creator>AN</dc:creator>
		<pubDate>Mon, 19 Feb 2007 23:10:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1849#comment-184119</guid>
		<description>All these points are great, and you should absolutely follow these guidelines whenever possible, but it completely depends on what you&#039;re building. Can you use Photoshop with a screen reader? Is Photoshop &quot;evil&quot; if you can&#039;t?

Developing content sites, you are publishing information, that ideally anyone ought to be able to read. But developing web applications can be a rather different animal.

In applications, there is a continuum of possibilities. On one end you have apps like photo editing and Visio, where it might not even be clear what an accessible application for a screen reader would do. On the other end, you have simple applications like a web version of Notepad, where no real functionality would be lost by eliminating client-side interaction altogether. In between, of course, you have an enormous range of cases.

And that&#039;s even without considering building games: for example, web Tetris. Is it evil to build web Tetris? If you build web Tetris, are you responsible for building a version for screen readers that can post back after each action?

As someone responsible for the web port of a Windows application, I can honestly say that I have no idea how to develop a version of my application that could degrade gracefully down to a screen reader. It would require a completely parallel coding solution. I would even be in favor of this option, except that the small company I work for can&#039;t possibly afford this.

I&#039;m certainly with you in spirit, but everyone needs to realize that different types of websites have different situations and impose different practical constraints.</description>
		<content:encoded><![CDATA[<p>All these points are great, and you should absolutely follow these guidelines whenever possible, but it completely depends on what you&#8217;re building. Can you use Photoshop with a screen reader? Is Photoshop &#8220;evil&#8221; if you can&#8217;t?</p>
<p>Developing content sites, you are publishing information, that ideally anyone ought to be able to read. But developing web applications can be a rather different animal.</p>
<p>In applications, there is a continuum of possibilities. On one end you have apps like photo editing and Visio, where it might not even be clear what an accessible application for a screen reader would do. On the other end, you have simple applications like a web version of Notepad, where no real functionality would be lost by eliminating client-side interaction altogether. In between, of course, you have an enormous range of cases.</p>
<p>And that&#8217;s even without considering building games: for example, web Tetris. Is it evil to build web Tetris? If you build web Tetris, are you responsible for building a version for screen readers that can post back after each action?</p>
<p>As someone responsible for the web port of a Windows application, I can honestly say that I have no idea how to develop a version of my application that could degrade gracefully down to a screen reader. It would require a completely parallel coding solution. I would even be in favor of this option, except that the small company I work for can&#8217;t possibly afford this.</p>
<p>I&#8217;m certainly with you in spirit, but everyone needs to realize that different types of websites have different situations and impose different practical constraints.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: jr</title>
		<link>http://www.sitepoint.com/blogs/2007/02/09/avoiding-evil-javascript/comment-page-1/#comment-183865</link>
		<dc:creator>jr</dc:creator>
		<pubDate>Mon, 19 Feb 2007 14:49:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1849#comment-183865</guid>
		<description>A colleague of mine surfs without css, flash, java and javascript; even graphics turned off.. 
Evil! sounds like a witchhunt to me - sorry.</description>
		<content:encoded><![CDATA[<p>A colleague of mine surfs without css, flash, java and javascript; even graphics turned off..<br />
Evil! sounds like a witchhunt to me &#8211; sorry.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Themaninblue</title>
		<link>http://www.sitepoint.com/blogs/2007/02/09/avoiding-evil-javascript/comment-page-1/#comment-181139</link>
		<dc:creator>Themaninblue</dc:creator>
		<pubDate>Sat, 17 Feb 2007 00:59:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1849#comment-181139</guid>
		<description>Quite funny Kev, this page kept crashing my browser until I turned off JavaScript :D</description>
		<content:encoded><![CDATA[<p>Quite funny Kev, this page kept crashing my browser until I turned off JavaScript :D</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Silvestr</title>
		<link>http://www.sitepoint.com/blogs/2007/02/09/avoiding-evil-javascript/comment-page-1/#comment-180141</link>
		<dc:creator>Silvestr</dc:creator>
		<pubDate>Thu, 15 Feb 2007 12:37:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1849#comment-180141</guid>
		<description>I absolutely agree with Sam Barber few posts above, especially with the last line.
It&#039;s time for a clever screen reader, that could translate into speech what the javascript should do. I know that&#039;s a mad wish, though.</description>
		<content:encoded><![CDATA[<p>I absolutely agree with Sam Barber few posts above, especially with the last line.<br />
It&#8217;s time for a clever screen reader, that could translate into speech what the javascript should do. I know that&#8217;s a mad wish, though.</p>]]></content:encoded>
	</item>
</channel>
</rss>
