Snippets

Crash IE6 with one line of JavaScript

Paste this anywhere on the page and IE6 will crash when trying to load the page.

<script>for (x in document.write) { document.write(x);}</script>

Source: http://www.catswhocode.com/blog/6-html-and-javascript-codes-...

Share this snippet

 

Comments (6) - Leave yours

  1. Lawrie said:

    I recently developed a site targeted specifically at users with auditory and visual disabilities, and in several focus groups I was made acutely aware that a lot of disabled users have older browsers.

    So, as much as you might hate IE6, this is kind of a dick move :/

  2. Les said:

    Everyone should use this just to shaft IE for releasing such a lousy browser and a warning to all those who still use it today to go and get a -beep- update :D

Leave a Reply

Your email address will not be published. Required fields are marked *

Please respect the following rules: No advertising, no spam, no keyword in name field. Thank you!