Simple password



Password = 1test
NB: This is a very simple script, and if you use your head you will know that it`s only to look at the source and search for the comand with passw or password, and you will find the password. Even if you use "NoRightClick" its not safe. Don`t use it to importent stuff!


Paste this between your HEAD-tags:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function password() {
var testV = 1;
var pass1 = prompt('Please Enter Your Password','');
while (testV < 3) {
if (!pass1)
history.go(-1);
if (pass1 == "1test") {
alert('You Got it Right!');
window.open('http://www.yourURLadress.com');
break;
}
testV+=1;
var pass1 =
prompt('Access Denied - Password Incorrect, Please Try Again.','Password');
}
if (pass1!="password" & testV ==3)
history.go(-1);
return " ";
}
// End -->
</SCRIPT>
Change "window.open('http://www.yourURLadress.com');" with your adress to the password protected site!

Paste this between your BODY-tags:
<FORM>
<input type="button" value="Enter Password Protected Area" onClick="password()">
</FORM>

Free JavaScripts provided
by Winfolinx.com


Back