JavaScript Screen isExtended Property

Beginner
5 min read
Updated: Nov 2026
3 examples
Property

Definition

Screen.isExtended is a read-only boolean that returns true if the device has multiple screens, and false if not (MDN). Access it as window.screen.isExtended.

Read the notes below before you rely on this property. Prefer feature detection when support is limited.

Syntax

Use screen.isExtended. Start with this line.

JavaScript
window.screen.isExtended
CallWhat it does
window.screen.isExtendedPrimary signature.

Built into the browser. Read screen.isExtended on window.screen — no import required.

Library declarations
JavaScript
window.screen.isExtended

Parameters

ParameterDescription
isExtendedRequired. Read-only boolean — multi-screen?

Return Value

Return ValueDescription
*The current value of screen.isExtended.

JavaScript Examples

Example 1 — Feature-Detect Then Read

Check that isExtended exists before reading the boolean.

JavaScript
if ("isExtended" in window.screen) {
  console.log(window.screen.isExtended);
  console.log(typeof screen.isExtended);
} else {
  console.log("isExtended not supported");
}
Try It Yourself

How It Works

  1. Detect first. "isExtended" in window.screen avoids assuming Chromium-only support.
  2. Read the boolean. When present, the value is true or false.
  3. Confirm the type. typeof screen.isExtended is "boolean".
  4. Fallback message. Unsupported engines log that the API is missing.

Example 2 — MDN Multi- vs Single-Screen Branch

Choose a layout path — same idea as MDN’s teaching example.

JavaScript
if (!("isExtended" in window.screen)) {
  console.log("Create single-screen window layout (API missing)");
} else if (window.screen.isExtended) {
  console.log("Create multi-screen window layout");
} else {
  console.log("Create single-screen window layout");
}
Try It Yourself

How It Works

  1. Guard missing APIs. No property → single-screen path.
  2. Truthy branch. isExtended === true → multi-screen options are worth considering.
  3. Falsy branch. One display (or policy forced false) → single-screen UI.
  4. MDN intent. Test before building multi-window / multi-screen layouts.

Example 3 — Safe Helper with Secure Context

Combine detection, secure context, and a default of “not extended”.

JavaScript
function hasExtendedScreen() {
  if (!window.isSecureContext) return false;
  if (!("isExtended" in window.screen)) return false;
  return window.screen.isExtended === true;
}

console.log({
  isSecureContext: isSecureContext,
  hasExtendedScreen: hasExtendedScreen()
});
Try It Yourself

How It Works

  1. Secure context first. MDN: supporting browsers expose this only on HTTPS / localhost.
  2. Detect the property. Missing API → treat as not extended.
  3. Strict true check. Only === true enables multi-screen paths.
  4. Safe default. Anything uncertain returns false — good for progressive enhancement.

Browser Support

Screen.isExtended is Experimental and not Baseline. Chromium browsers (Chrome / Edge / Opera ~100+) support it; Firefox and Safari do not.

✓ Experimental · Limited

Screen.isExtended

Multi-monitor boolean from the Window Management API — secure context required where supported.

Limited Not Baseline
Google Chrome All versions · Desktop & Mobile
Full support
Mozilla Firefox All versions · Desktop & Mobile
Full support
Apple Safari All versions · macOS & iOS
Full support
Microsoft Edge All versions · Chromium & Legacy
Full support
Internet Explorer IE 6+ · Legacy environments
Full support
Opera All modern versions
Full support
isExtended Limited

Bottom line: Ship only with feature detection and a single-screen fallback. Do not require isExtended for core UX.

Frequently Asked Questions

A read-only boolean: true if the device has multiple screens, false if not. Access it as window.screen.isExtended when the API exists.
MDN marks Screen.isExtended as Experimental and Limited availability (not Baseline). It is not Deprecated or Non-standard.
Yes in supporting browsers: MDN lists it as available only in secure contexts (HTTPS or localhost).
MDN: if a Permissions-Policy blocks the Window Management API (window-management), isExtended always returns false—even on multi-monitor setups.
No. It is read-only. You read the boolean; you do not assign to it.
Feature-detect with "isExtended" in window.screen. Fall back to a single-screen layout when unsupported (Firefox and Safari currently lack it).

Next: mozBrightness

See the deprecated, non-standard Firefox screen brightness property.

mozBrightness tutorial →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

11 people found this page helpful