cross_framing_protection.js 285 B

12345678910
  1. /* vim: set expandtab sw=4 ts=4 sts=4: */
  2. /**
  3. * Conditionally included if framing is not allowed
  4. */
  5. if (self == top) {
  6. var style_element = document.getElementById("cfs-style");
  7. style_element.parentNode.removeChild(style_element);
  8. } else {
  9. top.location = self.location;
  10. }