Sunday, 23 December 2012

Block the loading of your site through iframe for third party sites



How to block using your website through iframe? It's simple!

    <script>
    if (window!= top) // if your website window is not top
    top.location.href=location.href
    </script>



Share:

No comments:

Post a Comment