Skip to Content
Platform.Ontology

Window position and multi-screen flag

Window position on the desktop and whether more than one monitor is attached.

Gets silentlyScreen and windowsWindowWeb browsersWhen the page loadsWhile you use it

In one line

Can see where your browser window sits and whether you have two or more screens

Window position on the desktop and whether more than one monitor is attached.

screenX and screenY can reveal monitor layout; screen.isExtended says if a second display exists, without a prompt. Detailed monitor list (getScreenDetails) does need a permission.

What it can and can't do

What the user does: Nothing. It happens when the page loads.

It can

  • Check the window's position on the desktop
  • Check whether more than one screen is attached
  • Guess a dual monitor setup

It cannot

  • See the size or contents of your other screens without permission
  • Move your window
  • See other windows on your computer

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported1002022-03-29isExtended in Chrome 100
EdgeSupported1002022-04-01None
FirefoxSupported12004-11-09BCD lists no support; agent research says otherwise
SafariSupported32007-10-26BCD lists no support; agent research says otherwise
Safari on iPhoneSupported3.22010-04-03BCD lists no support; agent research says otherwise
Chrome on AndroidSupported1002022-03-29None
Samsung InternetSupported19.02022-11-01None

How a site asks for it

APIwindow.screenX, screenY, screen.isExtended
Browser compat keysapi.Screen.isExtended
How access is grantednone
What the user seesNone
Needs a secure context (HTTPS)No
Needs a user gestureNo
How long it lastsread fresh on every page load; nothing stored
How to take it backnone needed (no grant)
Inside an iframeReadable from cross-origin iframes too (same values)

Typical flow

  1. Page script reads the value
  2. No prompt is shown

Data you get

Shape: object
How often: static per session

FieldTypeUnitRangePrecision
screenX, screenYintegerCSS pxnegative or above width if second monitorexact
isExtendedbooleanNonetrue or falseNot listed

Technical limits

  • isExtended only in Chromium
  • getScreenDetails needs window-management permission

The story

What it is

Reports where your window sits on the desktop and whether you have more than one monitor.

For you

You never see it. The page reads the window position and can tell if it sits on a second monitor or off the main one.

For makers

Makers use it to open popups on the right screen. Trackers use it because window positions and a second monitor are a strong mark of a real desk setup. It also reveals how people work.

Where you see it

TypeExampleApps
gamesA browser game opens its menu on the same screen where the game sits.None named
productivityA web app opens its pop out tool on the same monitor as the main window.None named
securityA fraud check sees a window at a position that no real desktop uses, which hints at a virtual machine.None named
adsA fingerprint script uses a multi monitor flag as one more bit of the device ID.None named
analyticsA team learns what share of its users use two screens when designing pop out tools.None named
enterpriseA call center app notes that agents with two screens use the knowledge panel more.None named

Risks

  • Fingerprint clue
  • Reveals work setup

What the platform says

  • MDN: Window.screenX. Documents how a page can read the position of the browser window on the screen.

Good uses and abuse

Legitimate uses

  • Open popups on right screen

Known abuse

  • Setup fingerprint

Scores

ScoreValueMeaning
Sensitivity1 of 5How revealing the data is
Utility3 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bits1.5Rough identifying entropy, when known

History

  • 2022-03, Chrome 100: screen.isExtended shipped; details need permission

Sources

How well checked: Based on official documentation.

On this page