Search with Gemini

Lets you use Gemini as a custom search engine. Reads 'prompt' parameter from URL and automatically submits it to Gemini chat.

Author
Alexey Kudryavtsev
Daily installs
0
Total installs
3
Ratings
0 0 0
Version
2025.07.27.1
Created
2025-07-27
Updated
2025-07-27
Size
4.45 KB
License
Apache-2.0
Applies to

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.