CompassWeb
Hide your referrer!

Use dereferer.compassweb.hu for your website

If you frequently need a dereferer, feel free to integrate the dereferer.compassweb.hu service into your web site - here are some code examples for common environments:

PHP example

<?php
function derefer($strUrl)
{
  return "http://dereferer.compassweb.hu/?".urlencode($strUrl);
}
?>

<a href="<?= derefer("http://www.example.com") ?>">Link</a>
      

ASP example

<%
function derefer(strUrl)
  derefer = "http://dereferer.compassweb.hu/?" & server.urlencode(strUrl)
end function
%>

<a href="<%= derefer("http://www.example.com") %>">Link</a>
      

JavaScript example

<script language="JavaScript">
function derefer(strUrl)
{
  return "http://dereferer.compassweb.hu/?"+escape(strUrl);
}
</script>

<a href="http://www.example.com" 
   onclick="window.location.href=derefer(this.href); 
   return false;">Link</a>
      
CompassWeb