HTML iframe sandbox 속성

Jmnote (토론 | 기여)님의 2015년 10월 18일 (일) 20:56 판 (새 문서: ==개요== ;HTML iframe sandbox Attribute ;HTML iframe sandbox 속성 <source lang='html5'> <iframe src="a.htm" sandbox></iframe> <iframe src="b.htm" sandbox="allow-forms"></iframe>...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요

HTML iframe sandbox Attribute
HTML iframe sandbox 속성
<iframe src="a.htm" sandbox></iframe>
<iframe src="b.htm" sandbox="allow-forms"></iframe>
<iframe src="c.htm" sandbox="allow-same-origin allow-scripts"></iframe>

2 속성 값

설명
(없음) 모든 제한 적용
allow-forms 폼 제출 허용
allow-pointer-lock API 허용
allow-popups 팝업 허용
allow-same-origin 같은 오리진으로 다루도록 허용
allow-scripts 스크립트 허용
allow-top-navigation top레벨 브라우징 컨텍스트 내비게이션 허용

3 같이 보기

4 참고 자료

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