Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of ViewGraph Capture

ViewGraph Capture by Sourjya S. Sen

AI-powered UI capture and annotation for coding agents. Click bugs, get auto-suggestions, panic capture mid-action, see live fix status, HMAC-signed communication, and 5-layer injection defense. Works with any MCP agent.

0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
Annotation Panel.Initialize ViewGraph in your project.Element selection.
About this extension
ViewGraph is the UI context layer for AI coding agents. When you see a bug in the browser, click it, describe what's wrong, and send it to your agent. The agent receives the element's exact CSS selector, computed styles, accessibility state, and your comment - then finds the source file and fixes the code.

Annotation & Capture
- Click any element to annotate with comments, severity, and category
- Shift+drag to select a region
- Panic capture (Ctrl+Shift+V): instant DOM + screenshot snapshot mid-action, without opening the sidebar
- Live annotation status: see real-time progress as your agent works (queued → fixing → resolved)
- Idea mode: toggle the lightbulb to switch from bug reporting to feature ideation
- Smart suggestions: clickable chips for detected issues (missing aria-label, no testid, low contrast)
- Keyboard shortcuts: Ctrl+Enter (send), Ctrl+Shift+C (copy), 1/2/3 (severity), Esc (close)

Enrichment & Diagnostics
- 21 enrichment collectors: network, console, accessibility, layout, components, client storage, transient state, error boundaries, service worker state, build metadata, and more
- Page Activity: captures toasts, flash content, animation jank, and render thrashing via 30s mutation buffer
- Built-in diagnostics: copy or create notes from any section - no DevTools needed
- Auto-audit: automatically runs a11y, layout, and testid audits after each capture
- Auto-inspect suggestions: automatic 3-tier scan (accessibility, quality, testability) with add-to-review flow

v3 Format - Token Efficiency
- Action Manifest: pre-indexed interactive elements with short refs (@e1-@eN) - 80-85% fewer tokens
- Style dedup + default omission: 30-45% smaller captures
- Container merging: 30-50% fewer nodes (semantically empty wrappers removed)
- observationDepth: interactive-only mode uses ~400 tokens vs ~100K full capture
- Structural fingerprint: cache-hit detection between captures
- Spatial index: O(log n) element queries by coordinate
- TOON compact format: ~87% fewer tokens for action manifest
- Performance instrumentation: capture timings in every snapshot

Export & Integration
- Three export modes: Send to Agent (MCP), Copy Markdown (Jira/GitHub), Download ZIP report
- Baseline management: set and compare structural baselines from the sidebar
- Multi-project support with automatic URL routing (up to 4 simultaneous projects)
- Session recording for multi-step user journeys
- HTML snapshots and screenshots saved alongside captures
- TracePulse integration: frontend errors bridged to backend monitoring
- Works with Kiro, Claude Code, Cursor, Windsurf, Cline, and any MCP-compatible agent
- 41 MCP tools for querying, auditing, diffing, and generating specs

No agent required. Testers and reviewers can use ViewGraph standalone. Annotate issues, copy as Markdown for Jira/GitHub, or download a ZIP report with screenshots. No MCP server needed.

Security
- HMAC-signed requests: challenge-response handshake, replay-proof signatures
- URL trust indicator: shield icon shows trusted/configured/untrusted pages. Send gate blocks untrusted URLs.
- Prompt injection defense: 5-layer protection (sanitize, wrap, detect, harden, gate)
- STRIDE threat model with 9 identified and mitigated threats. 9 security reviews passed.
- No account required. No data sent to external servers. All captures stay on your machine.
- Open source (AGPL-3.0)

Links
- Quick Start - zero to first fix in 5 minutes
- Documentation
- Security & Threat Model
- GitHub
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required permissions:

  • Access your data for all websites

Optional permissions:

  • Access browser tabs

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Homepage
  • Support site
  • Support Email
Version
0.9.2
Size
294.18 KB
Last updated
4 days ago (Apr 29, 2026)
Related Categories
  • Web Development
  • Appearance
License
GNU Affero General Public License v3.0 only
Privacy Policy
Read the privacy policy for this add-on
Version History
  • See all versions
Tags
  • user scripts
Add to collection
Report this add-on
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.