<!-- BLOCK SINGLE DOMAIN --> <!-- This goes in the HEAD of the html file --> <script language="JavaScript" type="text/javascript"> <!-- Copyright 2005, Sandeep Gangadharan --> <!-- For more free scripts go to http://sivamdesign.com/scripts/ --> <!-- if (document.referrer.indexOf('http://any_site.com/') != -1) { alert('Visitors coming from the Domain:\n ' + document.referrer + ' \nare not allowed to view this page!'); history.back(-1); } // --> </script> <!-- Just change the domain 'any_site.com' above to the domain you wish to block. -->