第一种:
<scriptlanguage="javascript"type="text/javascript">window.location.href="jb51.jsp?backurl="window.location.href;</script>
<scriptlanguage="javascript">alert("返回");window.history.back(-1);</script>
第三种:
<scriptlanguage="javascript">window.navigate("jb51.jsp");</script>
第四种:
<scriptlanguage="JavaScript">self.location='jb51.htm';</script>
<scriptlanguage="javascript">alert("非法访问!");top.location='jb51.jsp';</script>
第六种:网址从传参获得并转向
<scriptlanguage="javascript"type="text/javascript">functionrequest(paras){varurl=location.href;varparaString=url.substring(url.indexOf("?")1,url.length).split("&");varparaObj={}for(i=0;j=paraString[i];i){paraObj[j.substring(0,j.indexOf("=")).toLowerCase()]=j.substring(j.indexOf("=")1,j.length);}varreturnValue=paraObj[paras.toLowerCase()];if(typeof(returnValue)=="undefined"){return"";}else{returnreturnValue;}}vartheurltheurl=request("url");if(theurl!=''){location=theurl}</script>