Simple Firefox plugin that does Quick GPT query of selected text in the browser with options to configure custom prompts.
Select text in a page, right-click, and choose a prompt from the Quick GPT Selected menu. The response streams inline near your selection. Click "More" in the inline card to open a popup with a detailed response.
Context menu
|
Short answer (inline)
|
Long answer (popup)
|
Install the official add-on from Mozilla: https://addons.mozilla.org/addon/quick-gpt-selected/
Download the latest XPI from GitHub Releases:
Go to 'about:addons' in Firefox. Click the settings wheel. Choose 'Install Add-on From File'. Navigate to the XPI and click 'Open'.
Legacy build:
- The legacy XPI is for older Firefox versions that do not support the latest manifest fields.
- If you need Firefox 134 or earlier, download:
- Build the AMO (modern) package:
make xpi
- Build the legacy package:
make legacy-xpi
- Upload:
- AMO: upload
dist/quick_gqt_selected.xpi - GitHub Releases: attach both
dist/quick_gqt_selected.xpianddist/quick_gqt_selected-legacy.xpi
- AMO: upload
The extension's own source files are plain JavaScript, HTML, and CSS. They are
not transpiled, concatenated, or minified. The only generated third-party code
included in the extension is the official KaTeX browser bundle, stylesheet, and
fonts under src/vendor/katex/, copied from the pinned npm dependency
katex@0.17.0.
Build environment used for the submitted package:
- Linux
- Node.js v20.16.0
- npm 9.2.0
- GNU Make 4.3
- rsync 3.3.0
- Info-ZIP
zip - jq 1.7, only needed for
make legacy-xpi
Install the required tools with your operating system package manager, and install Node.js/npm from https://nodejs.org/ or your operating system package manager. Then run:
npm install
make xpiThis creates the AMO package at:
dist/quick_gqt_selected.xpi
For the optional legacy package, run:
make legacy-xpiThe build script is Makefile. It performs these steps:
- Copies
katex@0.17.0'skatex.min.js,katex.min.css,fonts/,LICENSE, andpackage.jsonfromnode_modules/katex/intosrc/vendor/katex/. - Copies the extension source from
src/into a temporarybuild/directory, excluding editor backup files. - Zips the temporary build directory into
dist/quick_gqt_selected.xpi.
OpenAI (ChatGPT) API key needed: Open the add-on settings and add your OpenAI key.
You can also configure your own prompts, as seen below.
MIT



