1. Use the setTimeout method of js
were hours; function startTimer(){clearTimeout(timer);timer=setTimeout(function(){location='default.aspx'},10*1000);} document.onmousemove=document.onmousedown=startTimer
2. Use the tag <meta>
<meta http-equiv="refresh" content="0; url=">
<meta http-equiv="refresh" content="0; url=">'Go to another page after a period of time content="0;URL=", where 0 means there is no delay, jump directly to the following URL; change 0 to 1, then jump after a delay of 1 second. The url is not necessary, when the URL does not exist, refresh the current page regularly