Javascripts > Misc Javascripts > PIN Protection
Script Title: PIN Protection
Description: This script allows you to enter a pin to identify the authorized person and displays the content if the user is authorized.
Example: No example available for this script.
Copy the following code into your <HEAD></HEAD> tags.<script language="JavaScript"> function pin() { var pin="22"; p = prompt("Please Enter the Pin:","Enter here") if(p=pin) { document.write("Welcome you are authorised to view this page!"); } else { document.write("Sorry, you are not registered to used this PIN"); } } </script>
Enter your name and email address to have this script sent right to your Inbox for later viewing. First Name Last Name Email