Password-protected page

Source: Internet
Author: User
Tip: you can modify some code before running

<html><head><title>Password-protected page</title><style type="text/css">BODY {FONT-FAMILY: ""; FONT-SIZE: 9pt; MARGIN-LEFT: 4px; MARGIN-RIGHT: 0px; MARGIN-TOP: 0px} A {COLOR: black; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: none} A: hover {COLOR: red; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: underline} A: active {COLOR: # ff0033; CURSOR: hand; FONT: 9pt ""}</style><meta content="text/html; charset=gb2312" http-equiv="Content-Type"></head><body bgColor="#000000"><font color="red" face="隶书" size="6"><p align="center">Confidential File. Enter the password</font></p><p align="center"><font color="red" face="隶书" size="6">Go to the protection page</font></p><p align="center"></p><p align="center"><script language="JavaScript">Function password () {var testV = 1; var pass1 = prompt ('Enter the password (the password is welcome): ', ''); while (testV <30) {if (! Pass1) history. go (-1); if (pass1 = "welcome") {alert ('The password is correct! Welcome! '); Break;} testV + = 1; var pass1 = prompt ('wrong password! Enter ');} if (pass1! = "Password" & testV = 3) history. go (-1); return "";} document. write (password ());</script> <form method="post"> <p></p> </form> <p align="center"><br> <br> </p> </body> </html>
Tip: you can modify some code before running

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.