Wednesday, September 12, 2012

How To Password Protect Your Blog

Here is the script that you want to cut and paste into your blog for password protecting your blog.

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var password = 'password'
password=prompt('Please enter the password to enter this site:','');
if (password != 'password') {
location.href='http://www.shanekillen.com';
}
// End -->
</SCRIPT>