We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS


There was a scripting error on this page. While it is being addressed by site editors, you can view partial content below.

{{ DomRef }}


This Boolean attribute controls the device's screen. Setting it to false will turn off the screen.


screenEnabled = window.screen.mozEnabled

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? 12.0 (12.0) ? ? ?
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? ? 12.0 (12.0) ? ? ?


In order to use screen.mozEnabled you have to set the preference "dom.screenEnabledProperty.enabled" to true in about:config.


Not part of specification.

Document Tags and Contributors

Last updated by: teoli,