Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

이 문서는 아직 자원 봉사자들이 한국어로 번역하지 않았습니다. 함께 해서 번역을 마치도록 도와 주세요!

Summary

This property indicates whether the window is displayed in full screen mode or not. It is only reliable in Gecko 1.9 (Firefox 3) and later, see the Notes below.

Syntax

isInFullScreen = windowRef.fullScreen;

With chrome privileges, the property is read-write, otherwise it is read-only. Bear in mind that if you try to set this property without chrome privileges, it will not throw an exception and instead just silently fail. This is to prevent scripts designed to set this property in Internet Explorer from breaking.

Return Value

isInFullScreen
A boolean. Possible Values:
  • true: The window is in full screen mode.
  • false: The window is not in full screen mode.

Examples

FIXME:

Specification

DOM Level 0. window.fullScreen is not part of any W3C specification or technical recommendation.

Notes

  • This property is only reliable in Mozilla 1.9 (Firefox 3) and later. Mozilla 1.8 and earlier do have this property, but it always returns false, even when the window is in full screen mode (bug 127013).
  • Switching between regular window and full screen will fire the "resize" event on the corresponding window.

문서 태그 및 공헌자

 이 페이지의 공헌자: cvrebert, fscholz, cpigat, teoli, kscarfone, ethertank, Sheppy, Mvent2, Mgjbot, Mw22
 최종 변경: cvrebert,