---
title: Screen.mozEnabled
slug: Web/API/Screen/mozEnabled
tags:
  - API
  - API:Mozilla Extensions
  - DOM
  - Deprecated
  - Non-standard
  - Property
  - Reference
browser-compat: api.Screen.mozEnabled
---
{{APIRef("CSSOM")}}{{Deprecated_Header}}{{Non-standard_Header}}

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

## Syntax

```js
let screenEnabled = window.screen.mozEnabled
```

## Specifications

Not part of specification.

## Browser compatibility

{{Compat}}
