Advertisement
Guest User

Weebly Password Protect - No Pro - Pokerocker123

a guest
Jun 18th, 2011
5,838
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. <SCRIPT language="JavaScript">
  2. <!--hide
  3.  
  4. var password;
  5.  
  6. var pass1="Password Here";
  7.  
  8. password=prompt('Please enter your password to view this page!',' ');
  9.  
  10. if (password==pass1)
  11. alert('Password Correct! Click OK to enter!');
  12. else
  13. {
  14. window.location="Url Here";
  15. }
  16.  
  17. //-->
  18. </SCRIPT>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement