IFrame Killer

Are you looking for an IFrame Killer? If you are tired of sites, using your pages as their own or to reduce the chances of phishing and scams, my code below will help you to break out of the frame.

<!-- IFrame Killer : Open -->
<script type="text/javascript">
if (top.location != self.location) {
top.location = self.location
}
</script>
<!-- IFrame Killer : Close -->

Please note that the webpage or site that you add it to may become incompatible with translation services websites (Google, Microsoft) as those sites will not be able to frame your page.

The following two tabs change content below.
facebook-profile-picture

Stephan Pringle

Technology Support Specialist at Sipylus
About The Author: Stephan Pringle is an Information Technology Support Specialist. He covers hardware and software and provides tips for you to troubleshoot and repair issues on your own. In his spare time, he writes articles about the State of New York on his Hackintosh and HackBook and that has helped him to become the top contributor of the New York City section of Yahoo! Answers.
facebook-profile-picture

Latest posts by Stephan Pringle (see all)

facebook-profile-picture

Stephan Pringle

About The Author: Stephan Pringle is an Information Technology Support Specialist. He covers hardware and software and provides tips for you to troubleshoot and repair issues on your own. In his spare time, he writes articles about the State of New York on his Hackintosh and HackBook and that has helped him to become the top contributor of the New York City section of Yahoo! Answers.