OS Integration

Window Management

Probing…

Window Management is a web platform capability in the OS Integration category. Multi-screen awareness and cross-screen window placement. Supported in Chromium 100+; not available in Firefox and Safari. Requires a secure context (HTTPS or localhost) and a user gesture such as a click or tap.

Secure contextUser gesture

Permission window-management: unknown

Try it

Loading demo…

Code

const details = await window.getScreenDetails()
for (const s of details.screens) {
  console.log(s.label, s.width, s.height, s.isPrimary, s.isInternal)
}
details.addEventListener('screenschange', () => console.log('changed'))

Browser support

Chromium
100
Firefox
No
Safari
No

Frequently asked questions

Which browsers support Window Management?

Supported in Chromium 100+; not available in Firefox and Safari.

Does Window Management require HTTPS?

Yes. Window Management needs a secure context, so it only works over HTTPS (or on localhost during development).

What is Window Management used for?

Multi-screen awareness and cross-screen window placement.

Can I try Window Management in my browser?

Yes. shwcs.net runs a live Window Management demo that probes your current browser and lets you try the API. Everything runs locally — nothing is sent anywhere.

MDN reference ↗ Specification ↗