A Chrome MV3 extension that sends selected text to a configured provider from the context menu and displays a short response in a lightweight page overlay.
- Right-click selected text and choose Ask
- Supports Gemini, OpenAI-compatible, Anthropic, xAI, and custom REST configurations
- Configurable model, response length, overlay position, duration, and color
- Optional fallback API key for rate-limit recovery
- Shadow DOM overlay to avoid page style conflicts
- Works on regular
httpandhttpswebsites, with on-demand injection fallback for already-open tabs - Provider test action in settings
- Optional loading state and local request history
- Popup with quick toggles for enablement, copying, loading state, and history
Chrome does not allow extensions to inject scripts into browser-owned pages such as chrome://, the Chrome Web Store, or other extension pages.
Install dependencies:
npm installBuild:
npm run buildWatch:
npm run watchClean generated output:
npm run clean- Build the extension.
- Open
chrome://extensions/. - Enable Developer mode.
- Click Load unpacked.
- Select this project directory.
- Open extension options and configure a provider key.
manifest.json: MV3 extension manifestbackground.ts: context menu, settings, provider calls, and tab messagingcontent/overlay.ts: page overlay renderingoptions.html,options.ts,options.css: extension settings UIicons/: extension icons
Do not commit private signing keys, .crx packages, generated zips, dist/, or node_modules/. The repository should contain source, lockfiles, icons, and documentation only.