Explore the index

LAB/ Software 03 · Browser extension + Studio

AfterClick

What happened
after you clicked?

An interface flight recorder. Record a real website interaction with a local Chrome extension, then read the action-to-state relationships in a Studio built for inspection, annotation, and evidence.

Chrome MV3v0.1.0Developer buildLocal-only
AFTERCLICK cover: oversized wordmark, a recorded action leading to disabled, loading and error states, and a real Studio state map.
AFTERCLICK / 0.1.0State map · real sample recording
Platform
Chrome MV3
Captures
DOM + ARIA
Storage
Local Chrome
Network
None

Not a bug tracker. A record of consequence.

AFTERCLICK exists for one question designers and developers ask constantly: what happened after I clicked? It records the action, opens a measured observation window, and captures the interface states that follow. The result is not a screen recording or a generic analytics dashboard. It is a sequence of actions, observed DOM/ARIA changes, measured delays, and honest gaps.

The extension records one tab at a time, only after you press Start and confirm consent. The Studio is a separate local workspace: import the exported JSON, inspect the timeline and the state map, add annotations, and export a report. Files move between the two experiences as portable JSON. There is no account, backend, or hidden live connection.

The bundled sample is a real capture from a local checkout fixture: five actions, 29 events, three pieces of feedback, and one action that produced no observed DOM change. The last one is not a failure to hide. It is the finding.

Built AFTERCLICK popup during a real local recording: elapsed time, 27 events, five actions, activity tape, pause and stop controls, and a manual checkpoint field.
RecorderBuilt popup · active local recording
Built AFTERCLICK Studio timeline and inspector showing a selected Save address click with no observed DOM change, a 4.00s measurement window, and an annotation field.
StudioBuilt interface · sample recording

These are browser-rendered captures of the built interfaces. The popup capture comes from the automated Chromium acceptance run against the local fixture. The Studio capture uses the bundled sample recording.

Observed fact

A click occurred. A button gained disabled. An alert appeared in the DOM. The path changed to /receipt.

Inferred label

“Success feedback” from live-region text or an error class is a heuristic. It is dashed in the map and marked inferred in the inspector. It can be wrong.

Manual note

A checkpoint or annotation is a person’s judgment. It is stored separately, survives export, and is never presented as something the recorder detected.

A narrow pipeline with explicit edges.

Starting a recording injects one content script into the active tab using activeTab and scripting. A background service worker owns the session, assigns sequence numbers, measures each event against the start time, and persists the active recording in chrome.storage.session. The completed recording is kept in chrome.storage.local until you clear it or export it.

The content script captures capture-phase clicks and form submits, focus changes between interactive controls, and keyboard shortcuts only when they include Ctrl, Meta, or Alt, plus Escape. There is no character-key listener. Typed content is never read. SPA route changes are detected by watching the URL, not by claiming access to framework internals.

A MutationObserver watches attributes and subtree changes while an action’s observation window is open. It records disabled and enabled transitions, aria-busy, progress indicators, dialogs, live regions, short control labels, and classification-ready feedback. Other mutations are ignored rather than logged indiscriminately.

What the timing means.

“+1.59s” means 1.59 seconds elapsed between the action and the first qualifying DOM/ARIA change that the recorder observed. It is not network latency, frame time, input latency, or perceived responsiveness. The popup displays wall-clock elapsed time, including pauses, and the timeline keeps pause/resume events.

Captured
  • Clicks, form submits, modifier shortcuts, focus
  • Navigation and same-document route changes
  • Disabled, loading, dialog, label and feedback states
  • Manual checkpoints
Not captured
  • Form values, passwords, typed characters
  • Cookies, headers, network payloads
  • Screenshots (not implemented in v0.1.0)
  • Canvas/WebGL pixels, iframe interiors, closed shadow DOM
Status edge
  • Cross-origin navigation can end capture
  • The partial recording stays exportable
  • Tab close finalises the recording
  • Browser settings pages are blocked

A map of consequence, not a chart of clicks.

Every action becomes a column. Its observed states stay in measured order, each with a short delay bar scaled to the observation window. The first column is not the most important one; it is simply the one that happened. Selection is shared with the timeline and inspector, so the map is a working index rather than an illustration.

Real AFTERCLICK state map with five action columns: Apply promo, Save address, Place order, Download invoice and View receipt. Each action lists its observed states with measured delay bars; Save address shows a no-observed-change state.
Sample recording · 5 actions · 29 eventsBuilt Studio · browser capture
01 / Action

The gesture opens a window.

A click, submit, or modifier shortcut starts a four-second observation period. The action keeps its real target label, tag, role and a short structural selector.

02 / Delay

Time becomes a bar.

Each state carries a delay bar scaled to the observation window. The printed +ms label is the measurement; the bar is a quick visual comparison, not a precision instrument.

03 / Evidence

Uncertainty has a texture.

Solid borders are observed facts. Dashed coral borders are inferred labels. A dashed stem ending in “0 observed DOM changes” is a measured absence.

In the bundled sample

“Save address” produced no qualifying DOM change across four seconds. The map does not invent a success state. It shows the absence and sends you to the inspector, where an annotation can record what the missing feedback meant.

What the map refuses to say: correlation is not causation. An unrelated toast during the window can be attached to the action. The recording marks its evidence and leaves the judgment to the person reading it.

Import the evidence. Argue with it.

The Studio is a standalone browser interface. It opens with a real sample recording, so the timeline and state map are useful before the extension is installed. Importing a file replaces the sample. A malformed file, a future schema version, or an empty recording is explained without destroying the recording already on screen.

Selecting a node in the map, a row in the timeline, or a consequence in the inspector keeps all three in sync. Arrow keys move through the timeline; Home and End jump to its edges; the annotation field submits with Ctrl/⌘ + Enter. On mobile the map scrolls horizontally and the inspector stays reachable.

Studio timeline and inspector with a demo annotation on the Save address action, showing no observed DOM change.
Timeline + inspectorLost feedback selected · annotation visible
AFTERCLICK Studio on a 390px viewport with the state map and a horizontally scrollable action strip.
Mobile review · 390px
JSON

Portable recording

Schema-versioned, with stable event IDs, timestamps, observed changes, evidence labels, consent metadata, and annotations. Imports round-trip through the Studio parser.

PNG

Interaction report

Rendered from the recording on an offscreen canvas: action ledger, measured delays, evidence texture, annotations, and a privacy footer. No screenshot montage.

HTML

Self-contained report

A single file with inline CSS, the consequence map, annotations, and the full event table. No scripts, remote styles, fonts, or images are loaded.

Generated self-contained HTML report for the Harbor & Pine sample, showing summary metrics and the consequence map.
Generated HTML report · actual outputNo remote resources

The sample is stored as a portable recording, not a fabricated screenshot. Its source is the local Harbor & Pine fixture and its form values are deliberately fake; automated privacy checks confirm those values are absent from the exported JSON.

Load it unpacked. Keep it local.

  1. Download and extract. Get afterclick-v0.1.0.zip and unzip it into a folder you can keep. The folder must contain manifest.json.
  2. Open the extensions page. Go to chrome://extensions in Chrome or another Chromium browser.
  3. Enable Developer mode. Turn it on in the top-right corner, then choose Load unpacked.
  4. Select the extracted folder. AFTERCLICK v0.1.0 appears in the list. Pin it to the toolbar for the reliable start path.
  5. Record and export. Open a normal https:// page, open AFTERCLICK, confirm consent, and press Start. Pause, checkpoint, or stop from the popup. Export the JSON and import it in the Studio.
Build and verify from source
node extensions/afterclick/tools/build.mjs
node extensions/afterclick/tools/package.mjs
node --test tests/afterclick.test.ts
node scripts/afterclick-acceptance.mjs
node scripts/afterclick-studio-qa.mjs

The ZIP is a developer build. It is not signed, not submitted to the Chrome Web Store, and not tested in Firefox or Safari. A human toolbar-install pass is still required before any store submission.

  • TypeScript + Next production buildPassing
  • AFTERCLICK unit tests15 passing
  • Studio browser QA30 / 30
  • Extension acceptance35 checks
  • Listing + docs browser QA36 / 36
  • Manual toolbar installNot automated
  • Chrome Web StoreNot submitted
ZIP contents
  • manifest.jsonMV3
  • background.jsservice worker
  • content.jsrecorder
  • popup.html/css/jsinterface
  • icons/4 sizes
  • fonts/OFL assets
  • README.txtinstall
  • PRIVACY.txtdata

Test method, stated plainly. Chromium does not expose its toolbar to Playwright, so the acceptance harness loads a copy of the build with a localhost-only host permission. The shipped manifest remains minimal. The capture pipeline, background worker, popup state, export, and privacy checks were exercised; the physical toolbar click was not automated.

A real v0.1.0, labelled honestly.

  • v0.1.0 · Chrome extension + Studio

    Manifest V3 extension with explicit per-recording consent. One-tab capture of clicks, form submits, modifier shortcuts, focus, navigation, and SPA route changes. Mutation-based observation of disabled, loading, dialog, label and feedback states. Manual checkpoints. Pause/resume. Session and last recording local storage. Portable JSON export.

    Studio with a real sample recording, action-consequence state map, keyboard timeline, event inspector, annotations, malformed and incompatible file handling, JSON round-trip, PNG canvas report, and self-contained HTML report. Automated capture, privacy, state-machine, import/export, accessibility, and responsive checks.

  • Deliberate omissions

    No screenshots, no form values, no character keystrokes, no cross-tab capture, no cloud sync, no accounts, no AI analysis, no Chrome Web Store listing, and no live extension-to-Studio bridge. The JSON file is the handoff.

  • Before any public listing

    Manual toolbar-install QA in current Chrome, Edge, Brave, and Arc; a privacy review of exported UI labels; larger-session stress tests; final store screenshots and listing copy; and the owner’s explicit publication approval.

What stays local

Active recordings live in chrome.storage.session. The last completed recording lives in chrome.storage.local until you clear it. Uninstalling the extension removes its storage. Studio files are read in the browser tab and exported by your browser.

What is sent

Nothing. The extension contains no network calls, analytics, accounts, or upload endpoint. Studio does not transmit recording data. This is a claim about AFTERCLICK’s code, not a claim that no web server ever sees a page request.

Safe capture defaults

Form values, password fields, typed characters, cookies, headers, and network payloads are never collected. Feedback text from live regions is off by default; when enabled it is short, bounded, and passes through redaction for emails, numbers, cards, and tokens.

Exports can be sensitive

A recording still contains the page path, page title, UI labels, structural selectors, event timing, optional feedback text, and your annotations. Review the JSON, PNG, or HTML before sharing it. Redaction is a last line of defence, not a guarantee.

Known limits

One tab at a time. Full navigation across origins can end capture. Iframe interiors, closed shadow DOM, canvas/WebGL pixels, and network activity are outside the observation. Only one completed recording is retained. No screenshots in v0.1.0.

Support

Reproducible bugs and install notes belong in the LAB/ repository issues. The build notes ship with the source; the extension ZIP includes its own README.txt and PRIVACY.txt.

Record the click.
Read the consequence.

The developer build and the Studio are ready now. Import the sample, inspect a real missing-feedback state, and export the evidence.