Posted By

neogeek on 07/01/06


Tagged

frames


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

luman
panatlantica


Break Out of Frames


 / Published in: JavaScript
 

Place this script on any page of your site that you want to ensure doesn't end up in someone else's frame.

  1. if (top.location != self.location) {
  2. top.location.replace(self.location);
  3. }

Report this snippet  

You need to login to post a comment.