422 posts plop
  • Weekly Top Seller
  • Elite Author
  • Author Level 7
  • 6 Years of Membership
+9 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

300 posts
  • Affiliate Level 1
  • Author Level 2
  • Collector Level 1
  • Beta Tester
+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.

2280 posts
  • Top Monthly Author
  • Weekly Top Seller
  • Community Superstar
  • Industrious API Inventor
+15 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