Advertisement
K00dak

protect your blog from fake visitors

Aug 30th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. <script type='text/javascript'>
  2. var block = ['hitleap.com', 'alexaboostup.com', 'addmefast.com','ilovehits.com','ADD SITE','ADD SITE'];
  3. for (var b = block.length; b--;) {
  4. if (document.referrer.match(block[b]))
  5. window.location = "https://www.google.com/";
  6. }
  7. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement