368 posts plop
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been part of the Envato Community for over 5 years
  • Made it to the Authors' Hall of Fame
+8 more
kimonoThemes says


Put this into a blank html page :
<script type="text/javascript">
    top.location.href = "http://example.com/livepreview";
</script>
And insert it in your live demo field on TF. It will redirect to the demo without iframe.
Aaaah thanks!!!! this works :D

You’re welcome! :P

298 posts
  • Has referred 1+ members
  • Has sold $100+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Has been a beta tester for an Envato feature
+5 more
campuscodi says

Search google for “Framebuster scripts” and you’ll find numerous solutions.

There are WP plugins for that too. I remember testing two of them a while back.

The company I work for uses a similar Prototype script to do this as well.

2024 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $250,000+ on Envato Market
  • Sells items exclusively on Envato Market
  • Contributed a free file of the month
+8 more
revaxarts says
Thats simple:
var isIframe = (top.location != self.location);
if(isIframe){
    top.location.href = location.href;
}

already did it on my livepreviews

by
by
by
by
by
by