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?
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?
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.
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):