document.mozFullScreen

  • Revision slug: DOM/document.mozFullScreen
  • Revision title: document.mozFullScreen
  • Revision id: 9035
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment page display name changed to 'document.mozFullScreen'

Revision Content

{{ DomRef() }}

{{ non-standard_header() }}

Summary

Reports whether or not the document is currently displaying content in full-screen mode.

Syntax

var isFullScreen = document.mozFullScreen;

On return, isFullScreen is true if the document is being displayed in full-screen mode; otherwise it's false.

Example

Needs example.

Notes

See Using full-screen mode for details and examples.

Browser compatibility

{{ CompatibilityTable() }}

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support {{ CompatUnknown() }} {{ CompatGeckoDesktop("9.0") }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }}
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support {{ CompatUnknown() }} {{ CompatGeckoMobile("9.0") }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }}

Specification

Not part of any specification.

See also

  • Using full-screen mode
  • {{ domxref("element.mozRequestFullScreen()") }}
  • {{ domxref("document.mozCancelFullScreen()") }}
  • {{ domxref("document.mozFullScreenElement") }}
  • {{ domxref("document.mozFullScreenEnabled") }}
  • {{ cssxref(":-moz-full-screen") }}
  • {{ HTMLAttrXRef("mozallowfullscreen", "iframe") }}

Revision Source

<p>{{ DomRef() }}</p>
<p>{{ non-standard_header() }}</p>
<h3 name="Summary">Summary</h3>
<p>Reports whether or not the document is currently displaying content in full-screen mode.</p>
<h3 name="Syntax">Syntax</h3>
<pre class="eval"><em>var isFullScreen</em> = <em>document</em>.mozFullScreen;
</pre>
<p>On return, <code>isFullScreen</code> is <code>true</code> if the document is being displayed in full-screen mode; otherwise it's <code>false</code>.</p>
<h3 name="Example">Example</h3>
<p>Needs example.</p>
<h3>Notes</h3>
<p>See <a href="/en/DOM/Using_full-screen_mode" title="en/DOM/Using full-screen mode">Using full-screen mode</a> for details and examples.</p>
<h3 name="Specification">Browser compatibility</h3>
<p>{{ CompatibilityTable() }}</p>
<div id="compat-desktop"> <table class="compat-table"> <tbody> <tr> <th>Feature</th> <th>Chrome</th> <th>Firefox (Gecko)</th> <th>Internet Explorer</th> <th>Opera</th> <th>Safari</th> </tr> <tr> <td>Basic support</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatGeckoDesktop("9.0") }}</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatUnknown() }}</td> </tr> </tbody> </table>
</div>
<div id="compat-mobile"> <table class="compat-table"> <tbody> <tr> <th>Feature</th> <th>Android</th> <th>Firefox Mobile (Gecko)</th> <th>IE Mobile</th> <th>Opera Mobile</th> <th>Safari Mobile</th> </tr> <tr> <td>Basic support</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatGeckoMobile("9.0") }}</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatUnknown() }}</td> </tr> </tbody> </table>
</div>
<h3 name="Specification">Specification</h3>
<p>Not part of any specification.</p>
<h3>See also</h3>
<ul> <li><a href="/en/DOM/Using_full-screen_mode" title="en/DOM/Using full-screen mode">Using full-screen mode</a></li> <li>{{ domxref("element.mozRequestFullScreen()") }}</li> <li>{{ domxref("document.mozCancelFullScreen()") }}</li> <li>{{ domxref("document.mozFullScreenElement") }}</li> <li>{{ domxref("document.mozFullScreenEnabled") }}</li> <li>{{ cssxref(":-moz-full-screen") }}</li> <li>{{ HTMLAttrXRef("mozallowfullscreen", "iframe") }}</li>
</ul>
Revert to this revision