IDNA

From OpenWetWare
Jump to: navigation, search

<html> <script type="text/javascript"> <!-- Begin /* This script and many more are available free online at The JavaScript Source :: http://javascript.internet.com Created by: Javascript Newbie :: http://expage.com/javascriptnewbie

  • /

var password; var pass1 = "password"; // place password here

password=prompt("Please enter your password:","");

if (password==pass1) {

 window.location= "test2.html"; // file to open if password is correct

} else {

 window.location= "test.html"; // file to load if password is incorrect

} // End --> </script> </html> ASDFASDFASDGASDFGASDFSDFGSD