»
AnglaisFran�aisVietnamien

Imprimer - Mot de passe Page Protector - JavaScriptBank.com

Version compl�te: jsB@nk » » Mot de passe Page Protector
URL: https://www.javascriptbank.com/password-page-protector.html

Mot de passe Page Protector © JavaScriptBank.comUn très simple JavaScript mot de passe la protection de javascript. Ne doit pas être utilisé pour tout ce sérieux.

Version compl�te: jsB@nk » » Mot de passe Page Protector
URL: https://www.javascriptbank.com/password-page-protector.html



JavaScript
<SCRIPT>function passWord(){var testV = 1;var pass1 = prompt('Ban nhap mat khau roi bam nut OK hay bam Cancel de huy bo',' ');while (testV < 3){if (!pass1) history.go(-1);if (pass1.toLowerCase() == "javascriptbank.com"){alert('Valid password');//window.open('index.html');break;} testV+=1;var pass1 = prompt('Invalid password','');}if (pass1.toLowerCase()!="password" & testV ==3) history.go(-1);return " ";} </SCRIPT>


HTML
b>Password is "javascriptbank.com"</b><br><FORM><input type="button" value="Press here to login" onClick="passWord()"></FORM>