04-09-2014, 11:13 PM
hello ,
this tutorial is for someone who know basic java script and html , but im ready to answer all your question
in this tutorial im going to tell you my secret to remove referrer from Iframe
first of all check out my demo page
all you need its javascript
http://>>>[[[Reported by Members as URL Shortener! Post the actual link!]]]<<</wrvmS
and this html would help you to get it
all you need to do is :
1 - first add script to page
like this
2 - add this
<span id="url_kill_referrer"> </span>
3- add your blank iframe
6- add this end of page
7 - change xhaus to what ever you want
after this code all your click go with out referrer
you final code should like this
and for iframe
do this
1-
2 - add this
2-
this tutorial is for someone who know basic java script and html , but im ready to answer all your question
in this tutorial im going to tell you my secret to remove referrer from Iframe
first of all check out my demo page
all you need its javascript
http://>>>[[[Reported by Members as URL Shortener! Post the actual link!]]]<<</wrvmS
and this html would help you to get it
PHP Code:
<html> <head> <meta charset="utf-8" /> <title>ReferrerKiller demo</title> <script src="referrer-killer.js"></script> </head> <body> <h1>Demonstration of how to prevent your browser of sending the referrer http header.</h1> <h3>Check the hack's source code <a href="referrer-killer.js">here</a>.</h3> <h2>Links</h2> <ul> <li>Not sending referrer <span id="url_kill_referrer"></span></li> <li>Sending referrer <a href="http://www.xhaus.com/headers" target="destiny">http://www.xhaus.com/headers</a></li> </ul> <iframe name="destiny" width="100%" height="460" src="about:blank"></iframe> <script> document.getElementById('url_kill_referrer').innerHTML = ReferrerKiller.linkHtml( 'http://www.xhaus.com/headers', 'http://www.xhaus.com/headers', { target: 'destiny' }, { verticalAlign: 'bottom' } ); </script> <h2>Image uploaded to pixhost</h2> <ul> <li>Without sending referrer: <br/> <span id="image_kill_referrer"></span></li> <li>Sending referrer: <br/> <img src="http://img4.pixhost.org/images/1693/14341576_a_fun.jpg" /></li> </ul> <script> document.getElementById('image_kill_referrer').innerHTML = ReferrerKiller.imageHtml('http://img3.pixhost.org/images/2669/14341603_a_fun.jpg'); </script> </body> </html>
1 - first add script to page
like this
PHP Code:
<script src="referrer-killer.js"></script>
<span id="url_kill_referrer"> </span>
3- add your blank iframe
PHP Code:
<iframe name="destiny" width="100%" height="460" src="about:blank"></iframe>
PHP Code:
<script> document.getElementById('url_kill_referrer').innerHTML = ReferrerKiller.linkHtml( 'http://www.xhaus.com/headers', 'http://www.xhaus.com/headers', { target: 'destiny' }, { verticalAlign: 'bottom' } ); </script>
after this code all your click go with out referrer
you final code should like this
Quote:<script src="referrer-killer.js"></script>
<span id="url_kill_referrer">
</span>
<script>
document.getElementById('url_kill_referrer').innerHTML = ReferrerKiller.linkHtml( 'http://www.xhaus.com/headers', 'http://www.xhaus.com/headers', { target: 'destiny' }, { verticalAlign: 'bottom' } );
</script>
<iframe name="destiny" width="100%" height="460" src="about:blank"></iframe>
and for iframe
do this
1-
PHP Code:
<script src="referrer-killer.js"></script>
2-
Quote:<iframe name="destiny" width="100%" height="460" src="http://www.xhaus.com/headers" id="url_kill_referrer"></iframe>+rep me if you liked my tutorial