• Is it possible to stop my site being iframed to another domain?

    Possibly a route back to my site if someone tries to iframe my site/content.

Viewing 1 replies (of 1 total)
  • This crafty little script in your header does wonders:

    if (parent.location.href == self.location.href){
        window.location.href = 'https://mysite.url'}
Viewing 1 replies (of 1 total)
  • The topic ‘Block my site being iframed.’ is closed to new replies.