»
EnglishFrenchVietnamese

Print - K-Password Entry - JavaScriptBank.com

Full version: jsB@nk » Security » Passwordor » K-Password Entry
URL: https://www.javascriptbank.com/k-password-entry.html

K-Password Entry © JavaScriptBank.comIf a visitor wants to go a JavaScript password protected page, they must first enter the correct JavaScript password on the page with this JavaScript. This JavaScript will just take you them to [password entered].html This is a very good script if JavaScript is enabled and as long as you have an index.html file in your directory.

Full version: jsB@nk » Security » Passwordor » K-Password Entry
URL: https://www.javascriptbank.com/k-password-entry.html



JavaScript
<script><!-- Hide script from old browsersfunction passBox() {var passwordText = "";passwordText = prompt("Enter K-Password In The Space Below", "K-Password Here");if (passwordText == "kword") {alert("Correct K-Password - Click OK To Continue")//location.href = "index.htm" }else {alert("Incorrect Password - Click OK To Continue")//location.href = "cancel.htm"}}// End hiding script from old browsers --></script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->