In the morning, A friend sent a link from abroad, telling me this is a very interesting plug-in (http://plugins.jquery.com/project/crash)-can directly let IE6 crash. For front-end developers, ie6. Open the source code and only see the following code:
/**
* JQuery Crash (http://mktgdept.com/jquery-crash)
* A jQuery plugin to crash IE6.
*
* V0.0.2-5 March 2010
*
* Copyright (c) 2009 Chad Smith (http://twitter.com/chadsmith)
* Dual licensed under the MIT and GPL licenses.
* Http://www.opensource.org/licenses/mit-license.php
* Http://www.opensource.org/licenses/gpl-license.php
*
* Use $. crash ();
*
**/
; JQuery. crash = function (x) {for (x in document. open );};
I was puzzled when I saw the code. How does it work? By searching, I found some answer in jQuery one-line plugin to crash IE6-using malicious code to crash the browser. But I am confused about how he works. There are many related comments in this article.