Skip to main content

A website can measure the exact shape of your window.

Screen size, visible page area, zoom, orientation, and touch support can reveal the kind of device in use. A rare—or repeatedly identical—window can become a strong recognition signal after a single page load—and one layer of alarger browser fingerprint.

screenMeasuring…
available area
layout viewportMeasuring…CSS pixels
zoom—touch points—orientation—color depth—
Likely device classEvaluating local signals…This is a probabilistic classification, not proof of a model.
These values are read locally for this illustration. Nothing is transmitted or stored.

The screen and the page are different sizes.

The screen describes the display environment. The viewport describes the part of the page available inside the browser. Comparing the two exposes scaling, browser chrome, window state, and the way a person tends to arrange their workspace.

Resize this window and watch the viewport values change. The full screen usually stays the same while the page-visible rectangle moves through a much larger range of possibilities.

Live local measurement updating
screen.width × screen.height—window.innerWidth × window.innerHeight—window.outerWidth × window.outerHeight—window.devicePixelRatio—
horizontal difference—
vertical difference—

The difference between the outer window and page viewport can reflect tabs, toolbars, borders, and window state.

Phones and tablets often expose a recognizable geometry.

Mobile screens are sold in a limited set of physical sizes and resolutions. Browsers then expose CSS dimensions, pixel density, orientation, and touch capability. Matching that combination against known hardware can suggest a model family—even when no value names the device.

Phone-like profile

390 × 844

Density
3×
Touch
5 points

This combination resembles a family of modern 6.1-inch phones. It does not prove one exact model. Size varies slightly but consistently by specific model.

Tablet-like profile

820 × 1180

Density
2×
Touch
5 points

A large portrait viewport, high density, and touch support can narrow the device class quickly.

Desktop-like profile

1536 × 864

Density
1.25×
Touch
0 points

Screen scaling, browser chrome, and a repeated window size can distinguish one setup from similar ones.

A damaged screen can create a repeatable window habit.

A website cannot see a physical crack in the glass. But if someone consistently sizes a browser to avoid that crack, the resulting viewport may recur at the same unusual dimensions. The damage becomes visible indirectly through behavior.

That repeated rectangle can survive cookie clearing, private browsing, and IP changes. Combined with other signals, it can help an observer recognize the same browser again.

  1. Monday1217 × 731same shape
  2. Thursday1217 × 731same shape
  3. Next month1217 × 731same shape
Illustrative dimensions. The identifying signal is the repeated window geometry, not the crack itself.

Letterboxing trades exact dimensions for a shared bucket.

Instead of reporting every possible window size, a browser can constrain the page to a smaller standardized rectangle. Many different outer windows then expose the same content size.

outer window 1173 × 773
page-visible area1000 × 700
Exact outer size1173 × 773one of many possible rectangles
Shared content bucket1000 × 700reported by many nearby sizes

Move either control. The exact window changes continuously; the page-visible bucket changes only after a threshold.

Without letterboxingMany exact sizes

Each slightly different rectangle can separate one browser from another.

With letterboxingFewer shared sizes

Browsers in the same bucket become harder to distinguish by viewport alone.

Display changes matter. Storage and network resets usually do not.

ActionWhat changesRecognition effect
Resize the browser windowChanges the viewport immediatelyCan create a new size or repeat a familiar one
Show or hide browser UIBookmarks bars, sidebars, and other browser chrome change the viewportA repeated UI layout can become part of the recognizable pattern
Rotate a phone or tabletSwaps the viewport orientationStill describes the same device family
Change page zoom or display scalingCan change CSS dimensions or pixel ratioMay alter several related measurements
Connect a different displayChanges screen, available area, or densityCan produce a different display profile
Open a private windowUsually preserves display characteristicsDoes not create an anonymity set
Clear cookies or change VPNDoes not change the local displayThe measurement can be reconstructed

The goal is to make your screen size less unique.

Changing one value at random can make a browser more unusual. Strong defenses coordinate the display signal with the rest of the browser profile.

01

Standardize

Constrain content to a limited set of viewport sizes so many users report the same geometry.

Tor Browser · Mullvad Browser
02

Reduce precision

Round, clamp, or otherwise limit dimensions and related hardware values exposed to scripts.

Useful when applied consistently
03

Coordinate defenses

Align screen behavior with fonts, graphics, locale, hardware hints, and other high-entropy surfaces.

A system property—not one toggle