First:
<Script language = "javascript" type = "text/javascript">
Window. location. href = "login. jsp? Backurl = \ "+ window. location. href;
</Script>
Second:
<Script language = "javascript">
Alert ("return ");
Window. history. back (-1 );
</Script>
Third:
<Script language = "javascript">
Window. navigate ("top. jsp ");
</Script>
Fourth:
<Script language = "JavaScript">
Self.location+'top.htm ';
</Script>
Category 5:
<Script language = "javascript">
Alert ("illegal access! ");
Top. location = 'xx. jsp ';
</Script>
===== Jump to other pages through the pop-up selection box in javascript ====
<Script language = "javascript">
<! --
Function logout ()...{
If (confirm ("are you sure you want to log out of your identity? Yes-Select OK, no-select cancel "))...{
Window. location. href = "logout. asp? Act = logout"
}
}
-->
</Script>
===== Jump to other pages through a prompt box in javascript ====
<Script language = "javascript">
<! --
Function logout ()...{
Alert ("are you sure you want to cancel your identity? ");
Window. location. href = "logout. asp? Act = logout"
}
-->
</Script>