Javascripts > Misc Javascripts > Simple Password Protect
Script Title: Simple Password Protect
Description: A very simple password protection system.
Example: No example available for this script.
Copy the following code into your <HEAD></HEAD> tags.<scriptlanguage="JavaScript"> var password$ = prompt("Please enter password") if (password="YOURPASSHERE") { location="mainpage.htm"} } else { location="wrongpass.htm" } </script>
Enter your name and email address to have this script sent right to your Inbox for later viewing. First Name Last Name Email