TraderJoez Posted March 31, 2014 Share Posted March 31, 2014 Create a blank text file. add the following in to it:function auto_anonymize(){auto_anonyminize()}function auto_anonyminize(){var e=window.location.hostname;if(protected_links!=""&&!protected_links.match(e)){protected_links+=", "+e}else if(protected_links==""){protected_links=e}var t="";var n=new Array;var r=0;t=document.getElementsByTagName("a");a_to_va=t.length;n=a_to_fa();r=n.length;var i=false;var s=0;var o="";for(var u=0;u<a_to_va;u++){i=false;s=0;while(i==false&&s<r){o=t[u].href;if(o.match(n[s])||!o||!o.match("http://")){i=true}s++}if(i==false){t[u].href="http://dereferer.org/?"+o;a_to_vb++;a_to_vc+=u+":::"+t[u].href+"n"}}var a=document.getElementById("anonyminized");var f=document.getElementById("found_links");if(a){a.innerHTML+=a_to_vb}if(f){f.innerHTML+=a_to_va}}function a_to_fa(){var e=new Array;protected_links=protected_links.replace(" ","");e=protected_links.split(",");return e}var protected_links="";var a_to_va=0;var a_to_vb=0;var a_to_vc="" Save and rename to anonymize.js FTP it into the js folder in your IPB root. In your ACP, edit your themes global template (Global Template > global template) Go ALL way to bottom, and right before: </body> </html> Paste this:<script src="/public/js/anonymize.js" type="text/javascript"></script><script type="text/javascript"><!--protected_links = "";auto_anonymize();//--></script> Now your links should be nicely defered. Note, you can change "http://dereferer.org/?" (in the newly created anonymize.js file you uploaded ) to any of the below:"http://dereferer.org/?""'http://anonym.to/?""http://dereferer.com/""http://hideref.org/?" 1 Link to comment Share on other sites More sharing options...
Jay1 Posted April 25, 2014 Share Posted April 25, 2014 thanks Link to comment Share on other sites More sharing options...
GROTiUS Posted May 9, 2014 Share Posted May 9, 2014 dont work. Link to comment Share on other sites More sharing options...
fOmeN Posted May 19, 2014 Share Posted May 19, 2014 dont work. Works fine for me Link to comment Share on other sites More sharing options...
Mantvi5 Posted July 11, 2014 Share Posted July 11, 2014 Works fine. Link to comment Share on other sites More sharing options...
markisac Posted December 14, 2016 Share Posted December 14, 2016 https://www.anonymiz.com/ much better and easy to integrate on any platform thanks Link to comment Share on other sites More sharing options...
Recommended Posts