Advertisement
ingenuo

password

Mar 22nd, 2022
1,515
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. <HEAD>
  2. <SCRIPT language="JavaScript">
  3. <!--hide
  4.  
  5. var password;
  6.  
  7. var pass1="put ur password here";
  8.  
  9. password=prompt('Please enter your password to view this page!',' ');
  10.  
  11. if (password==pass1)
  12. alert('Password Correct! Click OK to enter!');
  13. else
  14. {
  15. window.location="&&& u can put any url here";
  16. }
  17.  
  18. //-->
  19. </SCRIPT>
  20. </HEAD>
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement