AskInline is a Firefox extension that integrates Google's Gemini AI directly into your browser context menu. Select text on any webpage and instantly query Gemini about it: definitions, translations, summaries, and more, without ever opening a new tab.
Switching tabs to ask an LLM a quick question is a friction point. AskInline eliminates that friction by bringing the model to the text. It's built with Manifest V3 and Vanilla JS, keeping it extremely lightweight — no build steps, no heavy frameworks, just pure speed.
| Feature | Description |
|---|---|
| Contextual Analysis | Right-click any selection to "AskInline" via the context menu |
| Draggable UI | Responses appear in a non-intrusive, movable & resizable modal |
| Markdown Rendering | Formatted responses with bold, code blocks, lists, and more |
| Model Selection | Switch between Gemini 3 Flash, Pro, or Lite on the fly, or any available model, really |
| Streaming | Responses stream in real-time, token by token |
| Privacy First | Your API key stays local in browser.storage.sync — never sent to third parties |
Install directly from Firefox Add-ons: AskInline on AMO
Or load it temporarily for development:
- Clone this repository:
git clone https://github.com/liamtoaldo/AskInline.git
- Open Firefox and navigate to
about:debugging. - Click "This Firefox" → "Load Temporary Add-on".
- Select the
manifest.jsonfile from the cloned folder.
- Get your API Key from Google AI Studio.
- Open the extension settings (via the standard browser options page).
- Paste your key and select your preferred model.
- Save — you're ready to go.
- Manifest V3 — Modern extension architecture
- Vanilla JS — Zero dependencies, zero build steps
- Google Gemini API — Streaming generative AI responses
- marked.js — Lightweight Markdown rendering
- prism.js — Syntax highlighting for code blocks
This project is licensed under the MIT License.
