The least intrusive practical implementation of a Firefox WebExtension that reads ?q=... from a Gemini URL, fills the Gemini prompt box, and submits it automatically.
Open:
https://gemini.google.com/app?q=Why can't gemini support starting conversations via URL?
The extension will:
- Wait for Gemini's prompt editor to appear.
- Insert the decoded
qvalue into the editor. - Click Gemini's send button.
- Remove
qfrom the URL so the prompt is not re-submitted on the next render.
manifest.jsonregisters the content script forhttps://gemini.google.com/*.content.jswatches URL changes, fills the prompt, and submits it.