脚本与anon.click使用

有了这个脚本,你可以隐藏的HTTP引用站点从您的网站的所有出站链接。你也可以将它嵌入到WordPress,bboard,Drupal和更多的系统。要derefer您的反向链接,包括HTML的</body>标记之前的代码。



脚本来自动匿名在您的网站的所有外向链接

                    
                        
<!-- EMBED THIS SCRIPT BEFORE </body> -->
<script type="text/javascript" src="https://anon.click/scripts/AutoAnon.js"></script>
<script type="text/javascript">
    AnonClick.setSettings({
        target_blank: true, //if true, outgoing links will be target="_blank" (default: false)
        protected: true //if true, the protected-redirect will be used (default: false)
        //see https://anon.click/protected/ for more information about protected-redirects
    });
    AnonClick.addDomain('cdn.example.com'); //(optional) exclude urls from this domain
    AnonClick.addURL('http://example.com/anything.html'); //(optional) exclude this url
    AnonClick.go();
</script>
                    
                
示例页



回退旧的浏览器不支持HTML属性norefer

                    
                        
<!-- EMBED THIS SCRIPT BEFORE </body> -->
<script type="text/javascript">
    //with this script, you make sure that also old browser will send no referer
    //all links with rel="noreferrer" will be anonymized
    var anchors = document.getElementsByTagName('a');
    for(var i=0;i try{
        var rel=anchors[i].getAttribute('rel').toString();
        if(/noreferer/.test(rel)){
            anchors[i].href="https://anon.click/?"+anchors[i].href;
        }
    }
    catch(e){}
    }
</script>