用到:document.referrer对象,如下:if(document.referrer.indexOf("abc.html")>0){ window.location.href=document.referrer; }【编写于 2009-02-11】