NEWStandard createTask and in.php APIs. Change the address and you are connected.View API docs
GATESOLVER

Glossary

Canvas fingerprinting: identity from rendered pixels

Canvas fingerprinting uses the HTML5 canvas element to draw a hidden image, then reads the resulting pixels and turns them into a hash that varies from machine to machine.

Definition

The canvas element lets JavaScript draw shapes, gradients and text, then export the result with toDataURL() or getImageData(). Two computers asked to draw the exact same scene rarely produce byte identical output. Anti aliasing, font hinting, subpixel layout and GPU driver math all leave small traces. A fingerprint script exploits that by drawing a fixed scene off screen and hashing the bytes.

A minimal example

The snippet below shows the idea in plain browser JavaScript. Real scripts draw more layers, mix emoji and use several fonts to widen the differences.

function canvasHash() {
  const c = document.createElement("canvas");
  c.width = 240; c.height = 60;
  const g = c.getContext("2d");
  g.textBaseline = "top";
  g.font = "16px Arial";
  g.fillStyle = "#f60";
  g.fillRect(100, 1, 62, 20);
  g.fillStyle = "#069";
  g.fillText("Fingerprint test, 1.0", 2, 15);
  const data = c.toDataURL();
  let h = 0;
  for (let i = 0; i < data.length; i++) {
    h = (h * 31 + data.charCodeAt(i)) >>> 0;
  }
  return h.toString(16);
}

Nothing is shown to the visitor; the canvas never enters the page.

Why the output differs

  • Fonts: the same font name may map to different files, versions or fallbacks on each system.
  • Text rendering: ClearType, grayscale smoothing and hinting settings change edge pixels.
  • Graphics path: hardware acceleration versus a software rasterizer gives different blending results.
  • Browser engine: Chrome, Firefox and Safari implement drawing slightly differently.

None of this is visible to the eye. The variation sits in a handful of pixel values, which is enough to change a hash.

How detection uses the hash

Sites compare the canvas hash with the rest of the fingerprint. A hash that is known to come from a headless Linux server, while the User-Agent claims Windows with an NVIDIA card, is a contradiction. Another flag is a hash that changes on every page load: genuine hardware gives the same result each time, so constant change suggests a tool injecting noise.

Noise and blocking

Some privacy browsers add random noise to canvas reads or ask permission before exporting data. That protects users from tracking but makes the output unusual, and detection systems know the patterns these protections leave. Blocking the API entirely is another distinct signal, because almost every normal browser allows it.

Headless and server environments

A browser running without a GPU usually falls back to a software renderer, and the hashes that path produces cluster tightly across thousands of servers. That alone does not prove automation, but combined with a datacenter IP it pushes the risk score up and makes a challenge more likely.

What to do as a developer

For testing and data collection, the most reliable path is a real browser on hardware that matches the claimed platform, with default rendering settings. Avoid patching the canvas API unless you can keep the output stable across a session. When a page still asks for a challenge, send its parameters to a solver: GateSolver handles widgets such as reCAPTCHA v2 and GeeTest v3 / v4 on its side, so your canvas output does not decide the answer. The WebGL fingerprinting entry covers the 3D sibling of this technique.

Checking your own canvas output

Before blaming canvas for a block, measure it. Load the same small test page in your automated browser and in a desktop browser you use every day, run the hash function a few times in each, and compare. If the automated value is stable and differs only as much as one real machine differs from another, canvas is probably not your problem. If it changes on every run, or matches the value you get on every server in your fleet, you have found a likely contributor and know where to spend effort.

Keep in mind that canvas is only one input among dozens. Sites rarely block on it alone; it shifts a score that other signals push further.

Common questions

Can I see a canvas fingerprint being taken?

Not on screen; you can spot it in developer tools by watching for canvas creation and toDataURL or getImageData calls.

Does the hash change after a browser update?

Sometimes. Changes to font rendering or graphics code in a new release can shift a few pixels and therefore the hash.

Is adding random noise a good fix?

It hides the true value but makes the hash change every load, which detection systems treat as its own suspicious pattern.

Do all headless browsers produce the same canvas hash?

Not exactly, but software rendering on similar server images tends to give a small set of very common values.

Does canvas output affect a solved token?

No. The token is produced by the solver; canvas only matters for how the site scores the session you use it in.

Keep reading