Virus attack: jQuery code causes IE6 to crash

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.