Page 1 of 1

Page header not allowring URL masking iframe.

PostPosted: Wed Sep 18, 2013 8:46 pm
by usalabs
As I'm using a dynamic DNS service, and so that the url doesn't show my IP:port combination making the URL look cleaner, I used URL masking, but I was confused as to why it didn't work, until I contacted the DNS service support, and they had a look at my site source page, and found this:-

Code: Select all
<script type="text/javascript">

if (window != window.top) {

top.location.href = location.href;

}

</script>


Which prevents their URL masking iframe.

What file this code is in have no idea?

IS there a way to auto move all the pages down, to allow the URL masking iframe at the top?