Use buttons in IE to directly implement functions such as restarting or shutting down the computer
Author:Eve Cole
Update Time:2009-06-17 17:11:38
<!-- Add the following code to the <body> area -->
<script language="JavaScript">
var Application=new ActiveXObject('Shell.Application.1');
</script>
<button onclick=Application.ShutdownWindows();>Shut down</button><br>
<button onclick=Application.Suspend();>Suspend</button>