Chad Smith出来了jQuery plugin designed to crash the IE6 browser。这个插件如何设计使IE6崩溃,崩溃IE6?
;jQuery.crash=function(x){for(x in document.open);};
究竟是什么导致了这个问题呢?
Chad Smith出来了jQuery plugin designed to crash the IE6 browser。这个插件如何设计使IE6崩溃,崩溃IE6?
;jQuery.crash=function(x){for(x in document.open);};
究竟是什么导致了这个问题呢?
它不打开窗口,它试图遍历document.open
对象。那里的一些本地代码属性会导致IE6崩溃。
下面是如果它的工作会是什么在那里一个例子(尝试在任何非IE6浏览器):
从我所看到的方面来看,它跟JQuery没有任何关系。
<body onload='for(x in document.open);'>
它看起来打开了无数的窗口,因此,运行你内存不足,导致IE崩溃。
这是真棒BTW。看起来很容易。 – jjclarkson 2010-03-31 16:27:36
呃。 'practicalApplication = fail;' – 2010-03-31 16:37:57
http://www.catswhocode.com/blog/6-html-and-javascript-codes-to-crash-ie6 – zombat 2010-03-31 16:41:20