Design for an options panel reachable from about:addons, configuring a context-menu entry on selected text and an Alt+Shift+G shortcut. Adds storage and menus permissions only, both in Firefox's no-prompt class, so the install dialog gains no lines and data_collection_permissions stays "none". The gpt <query> search provider is deliberately untouched. Technical claims were verified rather than assumed: MV2 background type:"module" works from Firefox 112 (tested in 153.0.1), so no background HTML shim is needed; package.json needs "type":"module" or node --test fails on Node 22.0-22.6; the ChatGPT model/hints/temporary-chat params are undocumented and unreliable, so every label is written at hint strength. q= no longer auto-submits, only prefills. Also excludes docs/ and test/ from the packaged ZIP. Verified: without this the spec doc itself shipped inside the extension, and a bare glob alone leaves empty directory entries behind. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .gitea/workflows | ||
| docs/superpowers/specs | ||
| icons | ||
| .gitignore | ||
| AGENTS.md | ||
| CHANGELOG.md | ||
| LICENSE.txt | ||
| manifest.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| web-ext-config.mjs | ||
Search with ChatGPT Powered by OpenAI Firefox Extension
This extension adds ChatGPT as a configurable Firefox search provider. Type
gpt <query> in the address bar to open the query in a new ChatGPT session.
It uses no API key, custom server, or intermediary handler.
This is an unofficial extension provided by Zavage Software Inc.
See LICENSE.txt for licensing terms.
Browser Support
Firefox Desktop is the current development and release target. Chrome, Brave, other Chromium browsers, and additional WebExtension platforms may be evaluated after the Firefox feature set is more substantial; they are not current targets.
Development
Install Node.js 22 or newer, Firefox, and the locked development dependencies:
npm ci
Available commands:
npm run devlaunches the extension in a temporary Firefox profile and reloads it when files change.npm run lintvalidates the extension and treats warnings as errors.npm run buildcreatesweb-ext-artifacts/search-with-chatgpt-firefox-<version>.zip.npm testruns the same lint and build checks used by Gitea Actions.
The generated ZIP is unsigned. Use npm run dev for local testing; signing and
submission to Mozilla Add-ons remain a separate release step.
Before submitting a change, confirm that gpt <query> opens
https://chatgpt.com?q=<query>, the provider remains non-default, and it can be
configured in Firefox search settings.
Privacy Policy
This extension collects zero user data.