How is this plugin designed to crash IE6, crashing IE6?

Chad Smith came out with a jQuery plugin designed to crash the IE6 browser.

;jQuery.crash=function(x){for(x in document.open);};

What is this doing exactly to cause the problem?

Answers


It isn't opening windows, it's trying to iterate over the document.open object. Some native code property in there causes IE6 to crash.

Here's an example of what would be in there if it worked (try on any non-IE6 browser):

http://jsfiddle.net/XB8j8/


It doesn't have anything at all to do with JQuery from what I see.

<body onload='for(x in document.open);'>

It looks to open up an infinite number of windows, therefore, running you out of memory, causing IE to crash.


Need Your Help

Error using sphinx4 jars without Maven

java speech-recognition voice-recognition speech-to-text sphinx4

I have a problem with the API Sphinx4 and I can't figure out why it doesn't work.

PHP E-Commerce Multi-store engine

php e-commerce shopping-cart

I need advice with e-commerce engine which will allow create multisite internet-shops.