With this script code (below) placed in between the head tags, I am told that this will not allow the page to load in an iframe.
If this is correct, is there anything that needs to be replaced with my custom URL or similar in this code (e.g., top.location
should be top.myurl
)?
Or do you leave it as it is, and just paste it in the head of the page? I'm trying to understand how this works.
if (top.location!= self.location) {
top.location = self.location.href
}