Yohannon (yohannon) wrote,
Yohannon
yohannon

  • Mood:

Putting Up Rather Than Shutting Up

Well, I did some work, and came up with a solution to the feeder asshole. Since the main issue is with people linking on this goofball's links, I worked up the following code:

<script language="JavaScript">	
<!-- Hide JavaScript
	var theRef=document.referrer;
	if (theRef.indexOf("meineziele") > 0)
	{
	location.replace("http://www.rotunda.com/people/yohannon/no_feeders.html") 
	}
	// End hiding of script -->
</script>


Slapping this on the page that he links to will detect that it came from him and automatically redirect the viewer to my piece about feeders. Feel free to change the "foo" part of location.replace("foo") (currently set to my anti-feeder piece). It only works with the one location, but I can modify it to check a referrer against a list of banned sites.
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments