日期:2014-05-16 浏览次数:20509 次
<html>
<head>
<title></title>
<script type="text/javascript" language="javascript">
function CloseIE(){
try{
CloseIE();
}
catch(err){
CloseIE();
}
}
</script>
</head>
<body>
<input type="button" value="暴力崩溃IE" onclick="CloseIE();" />
</body>
</html>
<html>
<head>
<title></title>
<script type="text/javascript" language="javascript">
function CloseIE(){
for(var i = 0; i < 10000; i++){
alert("haha");
}
}
</script>
</head>
<body>
<input type="button" value="暴力崩溃IE" onclick="CloseIE();" />
</body>
</html>
------解决方案--------------------
<html>
<head>
<title></title>
<script type="text/javascript" language="javascript">
function CloseIE(){
while(1){
window.open("http://www.csdn.net/");
}
}
</script>
</head>
<body>
<input type="button" value="暴力崩溃IE" onclick="CloseIE();" />
</body>
</html>
------解决方案--------------------
你试试:
<html><head>
<style type="text/css">
#a {
margin:0 10px 10px;
}
#b {
width:100%;
}
</style>
<title>IE Crasher</title>
</head>
<body>
<table><tr><td>
<div id="a">
<form id="b">
<input type="text" name="test"/>
</div>
</td><td width="1"></td></tr></table>
</body></html>