screen.availTop is the number of CSS pixels at the top of the screen that windows are not allowed into. On a Mac that is the menu bar, so it reads 25 on most machines. On Windows the taskbar sits at the bottom by default, so it reads 0 and the taskbar comes off availHeight instead. That one integer says which desktop a browser is running on, without navigator.platform ever being read.

What availTop and availLeft measure

The screen a page sees has two rectangles. width and height are the whole display. The available area is what is left once the operating system has taken its own space: the menu bar, the Dock, a taskbar. availWidth and availHeight give its size, and availLeft and availTop give where it starts.

Only the size is standard on Screen. The CSSOM View draft defines exactly six attributes there: availWidth, availHeight, width, height, colorDepth and pixelDepth. MDN's page notes that a non-standard availTop exists on Screen in all browsers, and that the standard version lives on ScreenDetailed in the Window Management API, where it equals the screen's top edge "plus the height of any OS UI element drawn at the top of the screen". On a single display that is the whole story: availTop is the bar's height.

Open DevTools on the computer in front of you and run:

[screen.availLeft, screen.availTop, screen.height - screen.availHeight]

Every profile is drawn from one real computer, not from separate listsIn Mosaic: Machines that exist. GPU, screen, CPU and fonts from one real device. Free covers 3 profiles with no card, and Pro is $25 a month for any number of them.

How it works: Machines that exist

The numbers by platform

The values below are the ones in our device catalogue, read off real machines.

DesktopWhere the OS chrome sitsavailTopTaken off availHeight
macOS, most MacsMenu bar at the top2525
macOS, MacBook with a notchTaller menu bar at the top3838
Windows, 100% scalingTaskbar at the bottom040
Windows, 125% and aboveTaskbar at the bottom048
Linux, GNOMETop bar2727

availLeft is 0 on all of them. A Dock moved to the left edge changes it, but that is a choice somebody made about their desktop, not a property of their machine.

So the pair is a platform signal on its own. A browser reporting availTop: 25 and a taskbar's worth of missing height at the bottom describes no desktop that exists. That is why a Windows profile on a Mac has to get its geometry from the Windows it claims, not from the Mac it runs on.

Switches nobody was reading

Tesseract Chrome, our engine, sets fingerprint values itself, from launch switches. When we wrote 0103-screen-geometry.patch we found that the open-source code we had started from declared switches for screen width, height and device scale factor, sent them to every renderer, and then read them nowhere. No accessor called them, so the screen a page saw was always the host's, whatever the profile said.

0103 puts the read in the seven accessors a page actually calls: Screen::width, height, colorDepth, availLeft, availTop, availWidth and availHeight each check their switch first. Two details in it matter:

  • A missing switch means "leave the real value alone". A spoofed width beside the host's real available height is a contradiction, not a disguise, so each field opts in and the generator sends a coherent set drawn from one real machine.
  • pixelDepth is not changed. Chromium implements it as a call to colorDepth, and changing both would let the two drift apart.

The launcher works the numbers out from the claimed OS: availLeft is always 0, and availTop is 0 for a Windows claim and the whole reserved height for macOS and Linux, where the bar is at the top. The generator also refuses a Mac or Windows screen whose availHeight equals its height, because that means no menu bar and no taskbar.

The window that opened under the menu bar

Getting availTop right in the engine exposed a bug in where we put the window. The launcher opened every browser at --window-position=0,0, which on macOS is the top-left corner of the screen, under the menu bar. It was reported from inside the app as the browser "goes over the whole macOS bar", and it did, on every launch.

It was also a contradiction a page could read. The profile said the top 25 pixels were unavailable, and window.screenY said the window started at 0, above the top of the available area. No real window on a Mac can be there.

The origin is now the larger of two numbers: where this computer's own work area begins, so the window is visible, and the profile's own availTop, so the geometry agrees with what the profile claims. The host's half is passed in rather than looked up inside the function, because a function that asks the computer about itself gives the wrong answer as soon as it is describing a different machine.

What this means for a profile

Screen geometry is one of the values a page reads together, and it has to agree with the rest of the device. How a whole machine is drawn instead of separate fields is in a fingerprint is a machine. The other place the platform shows through a frozen string is in why navigator.platform says MacIntel. Mosaic will draw a Windows profile on a Mac with Windows geometry, as part of real fingerprints, though the strongest match is always the OS your own computer runs; the fonts it cannot change are covered in can a Mac make Windows browser profiles.

Sources

  1. W3C CSSOM View Module: the Screen interface, read November 3, 2026
  2. MDN: Screen.availTop, read November 3, 2026