Skip to Content
Platform.Ontology

Screen frame (taskbar insets)

Offsets between full screen and usable area reveal taskbar or dock size and position.

Gets silentlyScreen and windowsScreenWeb browsersWhen the page loadsWhile you use it

In one line

Can tell how big your taskbar or dock is and where it sits

Offsets between full screen and usable area reveal taskbar or dock size and position.

Shows macOS dock height and side, Windows taskbar edge, notches and system bars. Identifies OS UI settings and multi-monitor layout. Firefox now hides taskbar size by default.

What it can and can't do

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

It can

  • Compare the full screen size with the usable area
  • Guess your operating system and dock position
  • Add the result to a browser fingerprint

It cannot

  • See which apps are on your dock or taskbar
  • See your other monitors without the multi-screen permission
  • Move or resize your taskbar

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported12008-12-11None
EdgeSupported792020-01-15None
FirefoxSupported12004-11-09Taskbar hiding since 145
SafariSupported12003-06-23None
Safari on iPhoneSupported12007-06-29None
Chrome on AndroidSupported182012-06-27None
Samsung InternetSupported1.02013-04-27None

How a site asks for it

APIscreen.availTop, availLeft, availWidth, availHeight vs width, height
Browser compat keysapi.Screen.availTop
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
top, right, bottom, left insetsintegerCSS px0 to about 200exact

Technical limits

  • Zero on mobile in fullscreen

The story

What it is

The gap between your full screen and its usable area reveals where your taskbar or dock sits.

For you

You never see it. The page subtracts two numbers and learns how big your taskbar or dock is and which side it is on.

For makers

Makers use it to place popups and windows without hiding them under a taskbar. Trackers like it because taskbar size and side is a rare mix that helps spot your computer again.

Where you see it

TypeExampleApps
gamesA browser game opens a pop out window sized to fit above the taskbar.None named
productivityA web app places a floating panel so that the dock does not cover it.None named
securityA fraud check sees a screen frame that does not match the claimed operating system and flags it as a spoofed device.None named
adsA fingerprint script reads the taskbar gap as one more way to separate your computer from others with the same screen.None named
analyticsA team learns how much usable height they have on typical laptops.None named
enterpriseA kiosk or signage page can tell it is not running in a normal desktop mode.None named

Risks

  • Fingerprint clue
  • Reveals your setup

What the platform says

Good uses and abuse

Legitimate uses

  • Position popups

Known abuse

  • OS UI settings fingerprint

Scores

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

History

  • 2025-11, Firefox 145: Taskbar and dock size hidden by default

Sources

How well checked: Based on official documentation.

On this page