可以
<head>
<script>
onMouseMove=Mmove;
function Mmove()
{
clearTimeout(timerID);
var timerID=setTimeout("test()",600);
timerID;
}
function test()
{
self.location="http://www.csdn.net";
}
</script>
</head> 
<body id=test  scroll=no style="MARGIN: 0px" onLoad="Mmove()">

解决方案 »

  1.   

    注:
    var timerID=setTimeout("test()",600);
    中的"600"可以改大一点.
      

  2.   

    再注:
    onMouseMove改document.onMouseMove
      

  3.   

    再试试这个
    <head>
    <script>
    document.onmousemove=Mmove;
    document.onmousedown=Mmove;
    document.onkeydown=Mmove;
    function Mmove()
    {
    theD=new Date();
    stime=theD.getTime();
    }
    function test()
    {
    newD=new Date();
    etime=newD.getTime();
    if ((etime-stime)>=1000)//屏保时间
    {
    self.location="http://www.csdn.net";
    }
    else
    {
    clearTimeout(timerID);
    var timerID=setTimeout("test()",2);
    timerID;
    }
    }
    </script>
    </head> 
    <body id=test  scroll=no style="MARGIN: 0px" onLoad="Mmove();test()">