有安全提示,而要只能出现关机或重新对话框<script>
var g_oShell = new ActiveXObject("Shell.Application");
function turnoff()
{
g_oShell.ShutdownWindows();
}
</script>
<button onclick=turnoff();>关闭计算机</button>
var g_oShell = new ActiveXObject("Shell.Application");
function turnoff()
{
g_oShell.ShutdownWindows();
}
</script>
<button onclick=turnoff();>关闭计算机</button>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货