Window position and multi-screen flag
Window position on the desktop and whether more than one monitor is attached.
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
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Supported | 100 | 2022-03-29 | isExtended in Chrome 100 |
| Edge | Supported | 100 | 2022-04-01 | None |
| Firefox | Supported | 1 | 2004-11-09 | BCD lists no support; agent research says otherwise |
| Safari | Supported | 3 | 2007-10-26 | BCD lists no support; agent research says otherwise |
| Safari on iPhone | Supported | 3.2 | 2010-04-03 | BCD lists no support; agent research says otherwise |
| Chrome on Android | Supported | 100 | 2022-03-29 | None |
| Samsung Internet | Supported | 19.0 | 2022-11-01 | None |
How a site asks for it
| API | window.screenX, screenY, screen.isExtended |
| Browser compat keys | api.Screen.isExtended |
| How access is granted | none |
| What the user sees | None |
| Needs a secure context (HTTPS) | No |
| Needs a user gesture | No |
| How long it lasts | read fresh on every page load; nothing stored |
| How to take it back | none needed (no grant) |
| Inside an iframe | Readable from cross-origin iframes too (same values) |
Typical flow
- Page script reads the value
- No prompt is shown
Data you get
Shape: object
How often: static per session
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
screenX, screenY | integer | CSS px | negative or above width if second monitor | exact |
isExtended | boolean | None | true or false | Not 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
| Type | Example | Apps |
|---|---|---|
| games | A browser game opens its menu on the same screen where the game sits. | None named |
| productivity | A web app opens its pop out tool on the same monitor as the main window. | None named |
| security | A fraud check sees a window at a position that no real desktop uses, which hints at a virtual machine. | None named |
| ads | A fingerprint script uses a multi monitor flag as one more bit of the device ID. | None named |
| analytics | A team learns what share of its users use two screens when designing pop out tools. | None named |
| enterprise | A 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
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 1 of 5 | How revealing the data is |
| Utility | 3 of 5 | How useful it is to honest apps |
| Friction | 0 of 5 | How much the user has to do |
| Fingerprint bits | 1.5 | Rough identifying entropy, when known |
History
- 2022-03, Chrome 100: screen.isExtended shipped; details need permission
Related capabilities
Related
- Screen width and height. Can see your screen width and height, and the usable area, in page units
Sources
How well checked: Based on official documentation.