MCPcopy
hub / github.com/fingerprintjs/fingerprintjs / getScreenResolution

Function getScreenResolution

src/sources/screen_resolution.ts:11–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9 * so the window resolution is not used in Safari 17.
10 */
11export default function getScreenResolution(): ScreenResolution | undefined {
12 if (isWebKit() && isWebKit616OrNewer() && isSafariWebKit()) {
13 return undefined
14 }
15
16 return getUnstableScreenResolution()
17}
18
19/**
20 * A version of the entropy source without stabilization.

Callers 1

Calls 4

isWebKitFunction · 0.90
isWebKit616OrNewerFunction · 0.90
isSafariWebKitFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…