The first type:
Copy CodeThe code is as follows:
<script language= "javascript" type= "Text/javascript" >
window.location.href= "Jb51.jsp?backurl=" +WINDOW.LOCATION.HREF;
</script>
The second type:
Copy CodeThe code is as follows:
<script language= "JavaScript" >
Alert ("return");
Window.history.back (-1);
</script>
The third type:
Copy CodeThe code is as follows:
<script language= "JavaScript" >
Window.navigate ("jb51.jsp");
</script>
The fourth type:
Copy CodeThe code is as follows:
<script language= "JavaScript" >
self.location= ' jb51.htm ';
</script>
The fifth type:
Copy CodeThe code is as follows:
<script language= "JavaScript" >
Alert ("Illegal access! ");
top.location= ' jb51.jsp ';
</script>
Sixth: URLs get and turn from the parameters of the communication
Copy CodeThe code is as follows:
<script language= "javascript" type= "Text/javascript" >
function request (paras) {
var url = location.href;
var parastring = url.substring (Url.indexof ("?") +1,url.length). Split ("&");
var paraobj = {}
for (i=0; j=parastring[i]; i++) {
Paraobj[j.substring (0,j.indexof ("=")). toLowerCase ()] = j.substring (j.indexof ("=") +1,j.length);
}
var returnvalue = Paraobj[paras.tolowercase ()];
if (typeof (returnvalue) = = "undefined") {
Return "";
}else{
Return returnvalue;
}
}
var theURL
Theurl=request ("url");
if (theurl!= ') {
Location=theurl
}
</script>
JS Jump--turn