Obtain historical URL addresses and determine whether to redirect < Script Language = " Javascript " Type = " Text/JavaScript " >
If (Window. Location. href. indexof ( " Overview. aspx " ) > 0 && Document. referrer. indexof ( " Newform. aspx " ) > 0 )
{
Alert ("Thank you for your participation!");
Window. Location. href="Summary. aspx";
}
</ Script >
Five page Jump methods: 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 >