367 posts plop
  • Elite Author
  • Sold between 50 000 and 100 000 dollars
  • Beta Tester
  • Has been a member for 5-6 years
  • Grew a moustache for the Envato Movember competition
  • Referred between 50 and 99 users
  • Interviewed on the Envato Notes blog
+3 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
  • Envato Studio (Microlancer) Beta Tester
  • Beta Tester
  • Has been a member for 5-6 years
  • Grew a moustache for the Envato Movember competition
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Referred between 1 and 9 users
  • Bought between 1 and 9 items
  • Sold between 100 and 1 000 dollars
  • Exclusive Author
+1 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
  • Author had a Free File of the Month
  • Has been a member for 4-5 years
  • Austria
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Envato Studio (Microlancer) Beta Tester
+3 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