Search with Gemini
This userscript allows you to use the Google Gemini web interface as a powerful, custom search engine directly from your browser's address bar.
How it Works
The script reads a prompt parameter from the Gemini URL. When the page loads, it automatically finds the chat input box, pastes your query, and submits it to start a new chat.
How to Use
Setting it up is simple:
- Install the userscript.
- Add a new custom search engine in your browser's settings.
- In the "Search URL" (or similar) field, enter the following URL: `https://gemini.google.com/?prompt=%s`
- Set this new entry as your default search engine, or use its keyword in your address bar to trigger it.
Now, whenever you type a query in your browser's search bar, it will open a new Gemini chat and automatically ask your question.
Important Notes
Model Selection: Gemini will use whichever model you last selected (e.g., Pro, Flash, etc.). Make sure you have the desired model active before searching.
Feedback: If you have any issues or suggestions, please open an issue on the GitHub repository.