Skip to content

StoneHub/webDevFeedbackExt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dev Feedback Capture

Dev Feedback Capture is a Chromium extension for collecting structured UI feedback from live pages, PDFs, and other browser-visible surfaces. It supports two capture modes:

The source checkout contains the unreleased v1.3 History & Reliability work. The latest published download remains v1.2.0 until the v1.3 manual browser gate and release are complete.

  • Element mode injects a lightweight in-page UI so you can click DOM elements and save selectors, styles, and notes.
  • Region mode captures the visible viewport, opens a screenshot editor, and lets you draw a crop around any area, including browser-rendered PDFs.

All feedback stays local in extension storage. Open the extension-owned History page from the popup to review captures, copy Markdown or implementation instructions, and download JSON or a self-contained HTML report.

Features

  • Element capture with selector, text, styles, and note metadata
  • Region capture with cropped screenshot, viewport rectangle, and note metadata
  • Works on arbitrary sites through explicit user-triggered activation
  • PDF-friendly screenshot workflow for local and hosted PDFs
  • Extension-owned History page that works even when the source page cannot accept injected UI
  • Downloadable JSON and self-contained HTML reports with embedded region images
  • Copyable Markdown and implementation-prompt exports
  • Draggable in-page history panel for quick review on injectable pages

Installation

Latest Release ZIP

  1. Download the latest dev-feedback-capture-v<version>.zip asset from GitHub Releases.
  2. Unzip the file.
  3. Open chrome://extensions/ or edge://extensions/.
  4. Enable Developer Mode.
  5. Click Load unpacked and select the unzipped extension folder.
  6. Optional for local PDFs: enable Allow access to file URLs on the extension details page.

Source Checkout

Use this path when developing the extension or reviewing source changes:

  1. Clone or download this repository.
  2. Open chrome://extensions/ or edge://extensions/.
  3. Enable Developer Mode.
  4. Click Load unpacked and select the webDevFeedbackExt folder.

Usage

Element Mode

  1. Open the extension popup on any http, https, or file page you want to inspect.
  2. Leave the mode switch on Element.
  3. Click Start Element Mode or use Ctrl+Shift+F (Command+Shift+F on macOS).
  4. Hover and click a page element.
  5. Add your note in the modal and save it.

Region Mode

  1. Open the target page or PDF in the browser.
  2. Open the extension popup and switch to Region.
  3. Click Capture Region.
  4. In the editor tab, drag a box over the screenshot.
  5. Add your note and save it.

The cropped image, viewport rectangle, and source context are saved into the same local history as element captures. Open History from the popup to review captures from any supported source, including PDFs and pages where Element mode is unavailable.

Data Model

Stored feedback items use a discriminated shape:

  • type: "element" items include selector, element info, and position.
  • type: "region" items include viewport rectangle, screenshot crop, source kind, and tab context.

Older element-only captures are still loaded and normalized automatically.

Export Formats

  • Download JSON includes the full saved payload, including region image data URLs.
  • Download HTML Report creates a self-contained review with embedded region images.
  • Copy Markdown creates a readable text review for issues or docs.
  • Copy AI Prompt creates numbered, copy-ready implementation instructions from the saved text and source context. The numbered crop images are available in the companion HTML or JSON download.

Permissions

The extension requests:

  • storage for local history
  • activeTab for temporary, user-invoked access to the current tab
  • scripting to inject the in-page capture UI and history panel only when requested

The extension does not use static host permissions, always-on content scripts, telemetry, or network sync. Region captures can include visible page content in screenshot data URLs; those crops stay in local extension storage until the user clears history or removes the extension.

PDF Notes

  • Hosted PDFs should work through Region mode because the capture flow is screenshot-based.
  • Local file:// PDFs may require enabling Allow access to file URLs.
  • Region mode captures only the visible viewport in v1, not off-screen PDF pages.

Development

Project Files

  • manifest.json: Manifest V3 configuration
  • background.js: runtime injection and region-capture session orchestration
  • content.js: in-page panel and element capture
  • capture.html / capture.js: screenshot region selection editor
  • popup.html / popup.js: mode switch, current-tab actions, and History entry point
  • history.html / history.js: extension-owned history review and exports
  • shared.js: shared helpers, normalization, and export formatting
  • styles.css: injected in-page UI styles

Local Checks

  • npm test
  • npm run check
  • npm run package

Release Process

  1. Confirm package.json and manifest.json versions match.
  2. Run npm test, npm run check, and npm run package.
  3. Create and push a matching tag such as v1.3.0.
  4. The release workflow builds dist/dev-feedback-capture-v<version>.zip and publishes it as a GitHub Release asset.

See CHANGELOG.md for release notes.

Limitations

  • Element mode depends on DOM/script injection and is not intended for browser-internal surfaces.
  • Region mode stores text exports and crop data in local storage; very large capture histories will increase storage usage.
  • Region mode captures the current viewport only, not full-page stitched screenshots.
  • Cross-origin iframe DOM capture remains limited by browser security rules.

Roadmap

  • Add full-page or multi-step PDF region capture
  • Add import for saved histories
  • Add optional provider-specific AI handoff after the provider/auth shape is defined

License

This repository is source-visible for portfolio, review, and evaluation purposes only. All rights are reserved unless Monroe Stone grants written permission otherwise. See LICENSE.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors