Page Jump Code implemented by meta

Source: Internet
Author: User

Hello, I'm glad to meet you. On the Internet, I downloaded the code of the classified information network and uploaded it to the space. However, the default homepage name required by the space is index.htm, but the homepage name of the provided code is pop_ad, the web page cannot be opened.
My suggestions are as follows:
Hi!
You can use the jump code to direct the home page to pop_ad
View my 404 page
Http://www.jb51.net/404
You only need to add a line of code to the page
<Meta http-equiv = "Refresh" content = "5; url = http://www.jb51.net"/>
Content = 5 this is the time in seconds. You can set it to 0 directly.
Try it.

First:Copy codeThe Code is as follows: <script language = "javascript" type = "text/javascript">
Window. location. href = "login. jsp? Backurl = "+ window. location. href;
</Script>

Second:Copy codeThe Code is as follows: <script language = "javascript">
Alert ("return ");
Window. history. back (-1 );
</Script>

Third:Copy codeThe Code is as follows: <script language = "javascript">
Window. navigate ("top. jsp ");
</Script>

Fourth:Copy codeThe Code is as follows: <script language = "JavaScript">
Self.location+'top.htm ';
</Script>

Category 5:Copy codeThe Code is as follows: <script language = "javascript">
Alert ("illegal access! ");
Top. location = 'xx. jsp ';
</Script>

================= With Countdown ====================================
One tested:<Input type = "text" readonly value = "10" id = "time">

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.