This extension adds ChatGPT as a Firefox search engine. Type
gpt your question in the address bar, select text on a webpage and
choose Ask ChatGPT from the right-click menu. If the prompt isn’t sent automatically, press Enter in
ChatGPT.
Open Firefox’s Settings → Search, or paste
about:preferences#search into the address bar.
Under Search Shortcuts, edit ChatGPT’s keyword to change
gpt. Under Default Search Engine, choose
ChatGPT to use it for address-bar searches without a prefix. Choose your
previous engine there to switch back.
Firefox search settings guide.
The settings above apply to the right-click menu and keyboard shortcut; address-bar searches use Firefox’s search engine settings. Restore defaults only resets extension settings, including the prompt template; it does not change Firefox’s search engine or keyboard shortcut.
Checking keyboard shortcut…
You can also open Add-ons, then the gear menu → Manage Extension Shortcuts to change or remove the shortcut.