Advertisement
hooshmand

Block IP

Jul 2nd, 2012
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script language="javascript">
  2. var ip = '<!--#echo var="REMOTE_ADDR"-->'
  3. if (ip == '206.186.23.178') {
  4. alert("STOP! You are viewing this page from an IP address that is not allowed!");
  5. alert("Why can't you guys just leave me alone?");
  6. if (confirm("Do you want to leave peacefully? Or will I have to help you?"))
  7. {location.href="http://www.yahoo.com" } else { ("OK you choose I don't care! Bye bye! Don't come back!"); {location.href="http://www.yahoo.com" }} }
  8. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement