一些隐藏referer的方法,非完全兼容。
<meta name="referrer" content="never">
<a href="https://www.haiyun.me" rel=noreferrer</a>
<meta http-equiv="refresh" content="5; url=https://www.haiyun.me/" />
https to http
JS:
<script>
function open_without_referrer(link){
document.body.appendChild(document.createElement('iframe')).src='javascript:"<script>top.location.replace(\''+link+'\')<\/script>"';
}
open_without_referrer("https://www.haiyun.me/");
</script>
完整解决方案:
https://github.com/knu/noreferrer
参考:
http://www.cnblogs.com/rubylouvre/p/3541411.html
http://zhongfox.github.io/blog/javascript/2013/08/16/remove-referer-using-js/
https://blog.gslin.org/archives/2014/12/05/5404/%E8%A6%81%E7%80%8F%E8%A6%BD%E5%99%A8%E4%B8%8D%E8%A6%81%E9%80%81%E5%87%BA-referrer-%E7%9A%84-referrer-policy/
标签:none