skip to content

case studies from practice (general form only) · lesson 5 of 9 · sources checked 2026-11-20

a study of 100 sites that measured fingerprint reads, not detection

This lesson shows a study of 100 home pages whose first headline said "detection", and the limits that the probe really had.

status of this lesson: measured by me

purpose

A number answers only the question that its instrument can see. A passive capture of a home page sees which scripts read the browser, not why they read it. A headline that says more than the probe saw misleads each later reader, and only a printed denominator lets that reader check the number.

objectives

  1. Name the first belief, the measurement, and the cause of the study case.
  2. Classify the error of the first headline.
  3. Identify what one passive probe can see and what it cannot see.
  4. Describe the limits that a study of this kind must print next to its number.

new terms

how it works

The case has six parts: the situation, the first belief, the measurement, the result, the cause, and the general lesson.

the situation

A study of mine made one passive capture of the home page of each of the 100 most-visited sites. The capture used no proxy, no interaction, and one location. The benchmark platform, my test system, stores the data of the study.

The capture recorded each fingerprint read: each read of a browser API by a page script. For example, a script that calls HTMLCanvasElement.toDataURL makes one fingerprint read.

the first belief

The first draft called the result a "detection atlas". The belief was that a script that reads fingerprint APIs is a detection script. Thus the count of such sites seemed to show how much bot detection runs on the web.

the measurement

The study measured script surfaces: the scripts of each page and their API reads. The first chart in "Data" gives the steps of the coverage in two data sets.

A first-match classifier put each read into one API family. The order of the families decides each read. For example, a read of navigator.webdriver goes to the first family whose pattern matches it.

The second chart gives the reach of one family under two match rules. The study called the family "automation artifacts", after the automation artifact.

The broad rule of the study counts the global names of Node and of bundlers. The strict rule leaves them out. A page bundle can read such a name with no relation to automation. The same reach data is also in What real sites load: the top-100 study (not yet published).

The vendor profiles of the catalog named almost none of the scripts.

the result

The headline depended on the rule, not only on the sites. For example, a page bundle that reads process.env counts under the broad rule and not under the strict rule. A taxonomy choice changed the reach of the family.

The study did not measure detection. It measured reads of each fingerprint surface.

the cause

Analytics, advertising, personalization, and defense read the same browser APIs. A read does not show its purpose. For example, a canvas read can serve an advertising script or a defense script.

The coverage steps also mixed two causes. A site with no stored row can be a slow site or a full queue of the capture fleet. "No data" is not a fact about the site.

what the probe cannot see

A passive probe sees only the page scripts. Other detection layers stay invisible:

  • Behavior checks: the capture has no interaction to read.
  • Network and protocol checks: they run on the server. For example, a check of the TLS handshake leaves no trace in a page script.
  • A challenge: one quiet visit gives a site no reason to act.

the limits

The study has one probe, one location, and no repeat. Thus its variance is not known. For example, a second capture from a different location can give a different surface, and the study cannot say how different.

Few study sites have a detection profile, so the case gives no vendor share by category. The case gives no result for a site or a category.

the correction and the general lesson

I changed the title to "fingerprint-reading", removed the vendor section, and printed the denominator.

A public paper made the other step: it classified the scripts. In 2021, the FP-Inspector paper at IEEE S&P reported browser fingerprinting on more than 10% of the top-100K websites arXiv, source 1. It used a machine learning classifier of scripts, not a count of API reads.

The general lesson: a measurement answers only the question that the probe can see. Write the limits next to the number.

the two sides

automation sidedetection side
The operator saw scripts that read the browser and called them detection.A site runs fingerprint reads for analytics and advertising as well as for defense. The behavior, network, and challenge layers stay invisible to a passive probe.

design decisions

optiongaincostwhen it is correct
Count API reads with a broad ruleA simple, fast countBundler and Node names inflate the reachNever alone for a headline
Count API reads with a strict ruleFewer false matchesThe rule is a choice that the reader must seeWith the rule printed next to the number
Classify scripts by purposeThe result can separate fingerprinting from other readsIt must have a trained or reviewed classifierWhen the claim is about fingerprinting scripts
Print the denominator and each coverage stepThe reader can check the base of each rateA longer reportEach published rate
Repeat the captureThe variance becomes knownMore load on the sitesOn your own lab pages, or with the permission of the site owner. The course does not repeat the study against the study sites.

diagram

The first diagram gives the six parts of a case.

the six parts of a case, in reading order

A case starts at the first belief and ends at a check that you can use on a new system.source: My model of the parts of a case study

The second diagram shows the layers that one passive capture can and cannot see.

what one passive capture of a home page can see

  1. Page scripts and their API readsSeen: the capture records each read of a browser APIpass
  2. Purpose of each readNot seen: analytics, advertising, and defense read the same APIsno result
  3. Behavior checksNot provoked: the capture has no interactionno result
  4. Network and protocol checksNot seen: they run on the serverno result
  5. Challenges and verdictsNot provoked: one quiet visit gives the site no reason to actno result

The capture measures fingerprint reads, not detectionno result

Only the first row is seen. The other rows are not seen or not provoked.source: My model of what a passive probe can see

The third diagram shows the three end states of a site in the coverage steps.

coverage steps of the study: each site ends in one of three states

Only a site with a non-empty surface goes into the denominator.source: My model of the coverage steps of a capture study

code example

The example uses synthetic sites on reserved example domains and synthetic reads.

m35-x06-api-families.mjsjavascript

Put each API read into the first family that matches it, with a broad and a strict automation rule, and print the denominator.

// First-match classifier of API reads into families, with a broad and a strict
// automation rule. The sites and the reads are synthetic.
const FAMILIES = [
  ["automation artifacts", /^(navigator\.webdriver|process|require|__webpack_require__|global)\b/],
  ["canvas", /^(HTMLCanvasElement|CanvasRenderingContext2D)\./],
  ["navigator", /^navigator\./],
];

// The strict rule leaves out the global names of Node and of bundlers.
// A page bundle can read them with no relation to automation.
const NOT_AUTOMATION = /^(process|require|__webpack_require__|global)\b/;

function familyOf(read, strict) {
  for (const [name, pattern] of FAMILIES) {
    if (!pattern.test(read)) continue;
    if (strict && name === "automation artifacts" && NOT_AUTOMATION.test(read)) continue;
    return name; // first match wins
  }
  return "other";
}

const sites = {
  "site-1.example": ["navigator.webdriver", "navigator.plugins"],
  "site-2.example": ["process.env", "HTMLCanvasElement.toDataURL"],
  "site-3.example": ["__webpack_require__.p", "navigator.language"],
  "site-4.example": ["CanvasRenderingContext2D.fillText"],
  "site-5.example": [],
};

const surfaced = Object.entries(sites).filter(([, reads]) => reads.length > 0);
for (const strict of [false, true]) {
  const reach = surfaced.filter(([, reads]) =>
    reads.some((r) => familyOf(r, strict) === "automation artifacts"),
  ).length;
  const rule = strict ? "strict" : "broad";
  console.log(`${rule} rule: automation artifacts on ${reach} of ${surfaced.length} sites with a surface`);
}
console.log(`denominator: ${surfaced.length} of ${Object.keys(sites).length} sites have a non-empty surface`);

output

The reach of the automation family under each rule, and the denominator.

broad rule: automation artifacts on 3 of 4 sites with a surface
strict rule: automation artifacts on 1 of 4 sites with a surface
denominator: 4 of 5 sites have a non-empty surface

The output shows that the rule changes the reach on the same synthetic reads. The last line gives the denominator and the site with an empty surface.

data

coverage of the 100-site study in two data sets

status of this figure: measured by me

coverage of the 100-site study in two data setssites attempted1: 1022: 100with a surface row1: 842: 82with a non-empty surface1: 732: 71with an empty surface1: 112: 11with no surface row1: 182: 18unit: sites1. stored data2. study file

source: Benchmark platform, data (my test system): coverage of the study of 100 top sites; date 2026-11-03; sample of 102; condition: Counts of sites. The study file is the earlier set of the same study, with 100 sites.

data table
coverage of the 100-site study in two data sets
seriescapture stepsites
stored datasites attempted102
stored datawith a surface row84
stored datawith a non-empty surface73
stored datawith an empty surface11
stored datawith no surface row18
study filesites attempted100
study filewith a surface row82
study filewith a non-empty surface71
study filewith an empty surface11
study filewith no surface row18
Number of sites at each step of the capture, in the stored data and in the study file. The stored data have 2 more sites. The chart gives no result for a site or a category.

The study file is the earlier data set of the two. The chart shows where sites leave the denominator at each step.

reach of one api family with two match rules

status of this figure: measured by me

reach of one api family with two match rulesautomation artifacts1: 602: 30unit: sites1. broad rule2. strict rule

source: Benchmark platform, data (my test system): study of 100 top sites, API reads with two match rules; date 2026-09-14; sample of 71

data table
reach of one api family with two match rules
seriesapi familysites
broad ruleautomation artifacts60
strict ruleautomation artifacts30
Sites with one or more reads of the family, of the 71 sites with a script surface. The broad rule is the rule of the study. The strict rule is my recompute: it leaves out the global names of Node and of bundlers. The chart shows API reads, not detection.

The second chart shows one family under two match rules. The point is the effect of the rule on the headline.

failure modes

problemcausecorrection
A study headline says "detection".Analytics, advertising, and defense read the same APIs.Say "fingerprint-reading", and state what the probe can see.
The reach of a family changes with the analysis.A broad rule counts Node and bundler names.Print the match rule next to the number.
A rate has no base that a reader can check.The report gives no denominator.Print the denominator and each coverage step.
"No data" is read as a fact about a site.A slow site and a full queue give the same empty result.Record the cause of each missing row apart from the site.
A reader asks how stable the number is.One probe, one location, and no repeat.State that the variance is not known.

check questions

  1. Name the first belief, the measurement, and the cause of the study of 100 home pages.

    sample answer

    The first belief was that a script that reads fingerprint APIs is a detection script. The measurement was a passive capture of the script surfaces and their API reads. The cause was that analytics, advertising, personalization, and defense read the same browser APIs.

  2. The first headline of the study said "detection atlas". Which class of error is this?

    1. An operations error
    2. An economics error
    3. A measurement error
    4. A design error of the capture fleet
    answer

    c. A measurement error

    The headline claimed more than the probe saw. The probe measured fingerprint reads, not detection.

  3. Which part of a site can one passive capture of a home page see?

    1. The reads of browser APIs by the page scripts
    2. The network and protocol checks on the server
    3. The behavior checks
    4. The purpose of each read
    answer

    a. The reads of browser APIs by the page scripts

    The capture records the scripts and their API reads. The server checks, the behavior checks, and the purpose of a read stay invisible to it.

  4. Describe the limits that a passive study of this kind must print next to its number.

    sample answer

    It must print the denominator and each coverage step, and the match rule of each family. It must say that it counts API reads, not detection. It must say that it has one probe, one location, and no repeat, so the variance is not known.

exercise

exercise Do this task on paper. The records are synthetic. Each record is one home page of a synthetic study.

pagestored rowapi reads
page 1yesnavigator.webdriver, navigator.plugins
page 2yesprocess.env
page 3yesnone
page 4nonone
page 5yesHTMLCanvasElement.toDataURL

The rules: a page with a stored row and one or more reads is in the denominator. The broad rule counts navigator.webdriver and process as automation artifacts. The strict rule counts only navigator.webdriver.

  1. Write the denominator.
  2. Write the reach of the automation family under the broad rule.
  3. Write the reach under the strict rule.
  4. Write the end state of page 3 and of page 4.
  5. Write one sentence of limits for the report.
sample answer

The answer uses the five records and the two rules.

  • The denominator is 3: pages 1, 2, and 5.
  • Broad rule: 2 of 3 (pages 1 and 2).
  • Strict rule: 1 of 3 (page 1).
  • Page 3 has an empty surface. Page 4 has no data, and the cause can be a slow page or a full queue.
  • Limits: the reach counts API reads, not detection, from one passive probe in one location with no repeat, so the variance is not known.

sources

  1. Fingerprinting the Fingerprinters (FP-Inspector, S&P 2021), arXiv, paper, read 2026-11-20
  2. Benchmark platform, data (my test system): coverage of the study of 100 top sites and API reads with two match rules, 2026-11 (not public).
  3. My model of what a passive probe can see and of the coverage steps, 2026-11 (not public).