프레임킬러

1 개요[ | ]

framekiller, framebuster, framebreaker
프레임 없애기, 프레임킬러, 프레임버스터, 프레임브레이커, 프레임 벗어나기
최상위 프레임인지 확인
  • frame[1]에서 해당 페이지를 불러들일 때 최상위 프레임으로 열도록 강제하는 자바스크립트
  • 자신의 프레임이 top인지 확인, top이 아니면 top에 url 전달

2 방법[ | ]

if( self == top ) document.documentElement.style.display = 'block'; 
else top.location = self.location;

3 같이 보기[ | ]

4 참고[ | ]

  1. 또는 iframe
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}