Affiliates


Detect if page is on iframe and direct it on your page.



Detect if webpage is on iframe and redirect it on your page.

this prevent viewing your site on proxies that sometimes steals data from your users.

the code informs that parent web if on iframe results to replace the location page toString which is the main web on iframe.

  1. <script>
  2. parent.frames.length&&top.location.replace(document.location.toString());
  3. </script>

Comments

Popular posts from this blog

Fixed by using cmd: USB drive unusable, unformattable, and reporting 0 bytes capacity

A Love of a brother