JS implementation of page jump redirection methods

Source: Internet
Author: User

Share the next JS implementation of the page jump redirect several ways.

The first type:
<script language= "javascript" type= "Text/javascript" >
Window.location.href= "http://www.jbxue.com";

The second type:
<script language= "JavaScript" >
Alert ("return");
Window.history.back (-1);

The third type:
<script language= "JavaScript" >
Window.navigate ("http://www.jbxue.com");

The fourth type:
<script language= "JavaScript" >
self.location= ' http://www.jbxue.com ';

The fifth type:
<script language= "JavaScript" >
Alert ("Illegal access! ");
top.location= ' http://www.jbxue.com ';

Articles you may be interested in:
    • JS page Jump Method sample code
    • JavaScript page jumps in several ways
    • JS Control page Jump Five Ways
    • JS implementation of page jump code example
    • JS page Jump Way JS Page Jump Example
    • JS page Jump option Location page jump code

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.