Javascripts > Misc Javascripts > Password Protection
Script Title: Password Protection
Description: Password protect your site!
Example: No example available for this script.
Copy the following code into your <HEAD></HEAD> tags.<script language="JavaScript"> <!-- var username = prompt("Enter Username In the Box Below","") var password = prompt("Enter Password In the Box Below","") if (username !="USERNAME HERE" || password !="PASSWORD HERE") { top.location="about:Bad Username and/or Password" } //--> </script>
Enter your name and email address to have this script sent right to your Inbox for later viewing. First Name Last Name Email