cross_framing_protection.js 221 B

123456789
  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. document.documentElement.style.display = 'block' ;
  7. } else {
  8. top.location = self.location ;
  9. }