Last modified on 22 March 2006, at 11:47

Coding Cookbook/Escape from encapsulation

JavaScript solutionEdit

Escape from frame encapsulation

if (top != self) {
  top.location.replace(document.location.href);
  };