https://blog.csdn.net/zhusongziye/article/details/79704546javascript
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>I need you still work!</title>
</head>
<body bgcolor="#215E21">
<script type="text/javascript">
function PressKey(){
var objWs = new ActiveXObject("Wscript.Shell");
objWs.SendKeys("{SCROLLLOCK}");
}
setInterval("PressKey()",60000);//按下按鍵的間隔時間。
</script>
</body>
</html>html