Tuesday, 13 July 2021

Why use this website?

Why use this website?

A blank referrer increases privacy. Webmasters can use this hidref tool to prevent their site from appearing in the server logs of referred pages as referrer. The operators of the referred pages cannot see where their visitors come from any more.

What is a hidref?

A hidref is a webpage that is used to redirect users to different websites. Usually, web browsers send small pieces of information when following a link, including a so-called "referer". The referer is the URL of the page the user came from, giving webmasters the option to track back the origin of users visiting their sites. The hidref's part is to suppress this information; when analysing their transfer logs, webmasters will track back to the hidref's URL instead of the original URL.

How does it work?

Technically, a hidref page is just a normal webpage with some scripting additions. The link to the hidref page supplies information about the target page. This information is evaluated by the hidref page, and using meta tags, the browser is told to visit the target page. For there is no direct linkage between the linking page and the target page, trackbacks to the linking page are not possible.

How to use?

If you frequently need to hide referer, feel free to integrate the service into your website. Here are some code examples for common environments:

PHP

<?php
function hideref($strUrl){
 return "https://www.hidref.com/?".urlencode($strUrl);
}
?>
<a href="<?php echo hideref("http://www.example.com") ?>">Link</a>

JavaScript

<script language="JavaScript">
function hideref(strUrl){
return "https://www.hidref.com/?"+escape(strUrl);
}
</script>
<a href="http://www.example.com" onclick="window.location.href=hideref(this.href); return false;">Link</a>

Share:

0 comments:

Post a Comment

Note: only a member of this blog may post a comment.