Skip to Content
Platform.Ontology

WebGL parameters and extensions

About 65 WebGL limits and an extension list that differ by GPU and driver.

Gets silentlyDevice detailsHardwareWeb browsersWhen the page loadsWhile you use it

In one line

Can measure about 65 graphics limits that point to your GPU and driver

About 65 WebGL limits and an extension list that differ by GPU and driver.

MAX_TEXTURE_SIZE (4096 to 32768), MAX_VERTEX_ATTRIBS, shader precision formats and supported extensions together fingerprint the GPU even when the renderer string is hidden.

What it can and can't do

What the user does: Nothing. It happens when a page draws 3D graphics or tests for it

It can

  • Check texture size limits, shader precision, and extension lists
  • Tell GPU and driver families apart
  • Use the pattern to recognize your device even when the GPU name is hidden
  • Tune graphics for what your device handles

It cannot

  • See your files or screen contents
  • Tell your exact GPU model unless the name is shared
  • Work if graphics support is off
  • Be sure; browsers may round or hide values

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported92011-02-03None
EdgeSupported122015-07-29None
FirefoxSupported42011-03-22None
SafariSupported5.12011-07-20None
Safari on iPhoneSupported82014-09-17None
Chrome on AndroidSupported252013-02-27None
Samsung InternetSupported1.52013-09-25None

How a site asks for it

APIgl.getParameter(...), gl.getSupportedExtensions(), gl.getShaderPrecisionFormat()
Browser compat keysapi.WebGLRenderingContext.getSupportedExtensions
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
MAX_TEXTURE_SIZEintegerpx4096 to 32768exact
extensionslistNone20 to 40 namesNot listed
shader precisionobjectbitsrangeMin, rangeMax, precisionNot listed

Technical limits

  • Randomized (farbled) by Brave
  • Firefox fingerprint protection narrows

The story

What it is

About 65 graphics limits and a list of extras that differ by graphics chip and driver.

For you

You never see it. A 3D game or map asks your graphics chip what it can do and picks settings that work. The same answers, taken together, can act as a fingerprint of your graphics hardware.

For makers

Graphics apps must know the biggest texture, the shader precision and which extras exist. Trackers read the same numbers because they differ by chip and driver. Even when the name is hidden, the limits can tell devices apart.

Where you see it

TypeExampleApps
gamesA browser 3D game reads the texture size limit and picks high or medium graphics so it does not crash.Unity WebGL games
mapsA web map asks which graphics features exist to draw 3D buildings smoothly.Google Maps, Mapbox
creativeA browser 3D tool checks which extensions exist before turning on advanced lighting.Figma
gamesA cloud gaming page uses graphics capability to tune its overlay and video drawing.GeForce NOW
ar-vrA web based virtual tour scales scene detail to what the graphics chip can handle.None named
securityA fraud service uses the limit list to tell real GPUs from virtual machines and emulators.None named
adsA fingerprint vendor adds the graphics profile to a device ID that survives cookie clearing.FingerprintJS

Risks

  • Strong fingerprint
  • Works even if the GPU name is hidden

What the platform says

  • MDN: WebGL API. Docs describe WebGL as the way pages draw fast 2D and 3D graphics in the browser.

Good uses and abuse

Legitimate uses

  • Quality tiering

Known abuse

  • Hardware fingerprint

Scores

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

A real example: LinkedIn

65+ parameters. Read by the LinkedIn APFC fingerprint script (48 features, alleged by BrowserGate, partly confirmed by BleepingComputer).

Sources

How well checked: Based on official documentation.

On this page