用ie关机或重起

发表于:2007-06-30来源:作者:点击数: 标签:
脚本说明:
把如下代码加入<body>区域中
<script language="JavaScript">
var Application=new ActiveXObject(@#Shell.Application.1@#);
</script>
<button onclick=Application.ShutdownWindows();>关机</button><br>
<button onclick=Application.Suspend();>挂起</button>

原文转自:http://www.ltesting.net