How mumer119131/simple-captcha-solver-extension works
Simple Captcha Solver is a Chrome extension that selects a captcha from a page, recognizes it locally, and helps the user copy or enter the result. The main workflow runs from toolbar activation through the content-script picker, screenshot capture, offscreen image preparation and OCR, then returns text to the result UI for editing, copying, or field insertion. Options configure recognition and entry behavior through shared settings. The README documents the broader OCR cleanup and voting capabilities; excerpts show the host but not every processing stage. Relationship edges are limited to calls or data paths visible in excerpts or README.
Main entry points: overlay.js Page picker and result · background.js Service worker · offscreen.js Image prep and OCR · settings.js Shared settings
Components 10
Page interaction
- Page picker and result
content/overlay.js
Extension runtime
- Service worker
background.js
Local recognition
- Image prep and OCR
offscreen.js - Tesseract engine
Configuration
- Shared settings
lib/settings.js - Options UI
options.js
Other components
- User
- Toolbar action
- Page fields
- Clipboard
Connections 14
- Toolbar action → Service worker: activates
background.js - Service worker → Page picker and result: injects
background.js - User → Page picker and result: selects crop
README.md - Page picker and result → Service worker: requests capture
content/overlay.js - Service worker → Image prep and OCR: sends OCR job
background.js - Image prep and OCR → Tesseract engine: recognizes text
offscreen.js - Image prep and OCR → Service worker: returns result
- Service worker → Page picker and result: returns result
content/overlay.js - Page picker and result → Clipboard: copies text
README.md - Page picker and result → Page fields: fills field
README.md - User → Options UI: configures
README.md - Options UI → Shared settings: saves settings
options.js - Service worker → Shared settings: loads settings
background.js - Page picker and result → Shared settings: reads settings