Anti iFrame Buster in JavaScript

/ Published in: JavaScript
Save to your folder(s)

You know that iFrames are a necessary evil for many of us. When yuo put a third party site in an iframe is always a risk because they can break out of that iframe and redirect the visitor to another location. This code acts as a defense for such cases and prevents them from being able to bust out of the iframe.


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.