Item logo image for Send to Gemini

Send to Gemini

ExtensionTools19 users
Item media 2 (screenshot) for Send to Gemini
Item media 1 (screenshot) for Send to Gemini
Item media 2 (screenshot) for Send to Gemini
Item media 1 (screenshot) for Send to Gemini
Item media 1 (screenshot) for Send to Gemini
Item media 2 (screenshot) for Send to Gemini

Overview

Send text to Gemini Chat via URL parameters, context menu, and custom prompts

【Detailed Description】 ■ Overview Send to Gemini is a Chrome extension that automatically fills and submits prompts to Google Gemini using URL parameters. ■ Key Features ✓ Auto-fill prompts from URL parameters ✓ JavaScript API for external integration ✓ Auto-submit (can be disabled) ✓ Context menu to send selected text to Gemini ✓ Custom prompts (add, edit, delete from settings) ✓ Combine selected text with custom prompts ✓ Auto-submit can be configured per custom prompt ✓ Multi-language support (English, Japanese, German, Spanish, French, Korean, Portuguese, Chinese) ✓ Large text support via storage ■ How to Use 【Basic Usage】 Simply add the `?prompt=` parameter to the Gemini Chat URL. Example: https://gemini.google.com/app?prompt=Tell me about AI When you access this URL, the prompt "Tell me about AI" will be automatically filled and submitted. 【Disable Auto-Submit】 By default, the send button in Gemini Chat is automatically pressed after the prompt is filled in. To disable the automatic button press, add `autosubmit=false`. Example: https://gemini.google.com/app?prompt=Explain quantum computing&autosubmit=false In this case, the prompt is filled but the send button is not pressed. 【URL Encoding】 Special characters require URL encoding. Example: - Original text: Hello world - Encoded: https://gemini.google.com/app?prompt=Hello%20world Easy to encode in JavaScript: ``` encodeURIComponent("your prompt text") ``` 【JavaScript API Usage】 You can call this extension directly from your web page. ■ Basic Usage: ```javascript // Get your extension ID from chrome://extensions const extensionId = "your-extension-id"; // Send prompt to Gemini chrome.runtime.sendMessage( extensionId, { type: "autofill", prompt: "Tell me about AI", autoSubmit: true // true: auto-press send button / false: don't press }, (response) => { if (chrome.runtime.lastError) { console.error("Failed:", chrome.runtime.lastError.message); } else if (response && response.success) { console.log("Success:", response); } } ); ``` ■ Promise-based version (async/await support): ```javascript function sendToGemini({ prompt, autoSubmit = true }) { return new Promise((resolve, reject) => { chrome.runtime.sendMessage( extensionId, { type: "autofill", prompt, autoSubmit }, (response) => { if (chrome.runtime.lastError) { reject(new Error(chrome.runtime.lastError.message)); } else if (response?.success) { resolve(response); } else { reject(new Error("Request failed")); } } ); }); } // Usage example async function askGemini() { try { await sendToGemini({ prompt: "Explain artificial intelligence", autoSubmit: true }); console.log("Sent to Gemini"); } catch (error) { console.error("Error:", error.message); } } ``` ■ Connection check (ping): ```javascript // Check if the extension is available chrome.runtime.sendMessage( extensionId, { type: "ping" }, (response) => { if (chrome.runtime.lastError) { console.log("Extension not found"); } else { console.log("Connection OK:", response); } } ); ``` ■ Benefits of JavaScript API: - Support for large prompts (thousands of lines of data) - No URL length limitations - Direct integration with web applications - Can be triggered by user actions like clicks ■ Notes: - Extension ID can be found at chrome://extensions with "Developer mode" enabled - Does not work with file:// protocol (requires http:// or https://) - Can be called from any domain due to externally_connectable setting in manifest.json 【Context Menu Integration】 Select text on any webpage, right-click to see "Send to Gemini" in the context menu. ■ Basic Feature: Sends selected text directly to Gemini (without auto-submit). ■ How to Use: 1. Select text on any webpage 2. Right-click and choose "Send to Gemini" 3. Gemini tab opens with the selected text filled in 【Custom Prompts】 Register frequently used prompts as custom menu items from the settings page. ■ Setting Up Custom Prompts: 1. Right-click the extension icon → select "Options" Or, right-click anywhere and select "⚙️ Configure Custom Prompts" 2. Click "Add New Prompt" 3. Enter a menu label (e.g., "Translate to English") and prompt template (e.g., "Please translate the following text to English:") 4. Choose to enable/disable auto-submit (enabled by default) 5. Click Save ■ Using Custom Prompts: 1. Select text on any webpage 2. Right-click and choose your custom prompt 3. The custom prompt and selected text are combined and sent to Gemini ■ Benefits of Custom Prompts: - Execute common tasks with one click - Organize prompts by task (translation, summarization, code explanation, etc.) - Share standardized prompts with your team - Configure auto-submit per prompt ■ Use Cases 【Bookmarks】 Save frequently used prompts as bookmarks for quick access with one click. 【Web Application Integration】 Use the JavaScript API to call Gemini directly from web applications. Example: Explain data analysis results with Gemini, integrate with code generation tools 【Custom Shortcuts】 Convert specific tasks or questions into URLs and share them with your team. 【Large Data Processing】 Via JavaScript API, you can send thousands of lines of data or code to Gemini without worrying about URL length limits. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 【Tags/Categories】 - Productivity - AI Tools - Automation - Gemini - Google AI - Prompt Management - Developer Tools ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 【Update History】 ■ Version 1.1.0 ✓ Added context menu to send selected text to Gemini ✓ Added custom prompts feature (manageable from settings, combinable with selected text) ■ Version 1.0.0 ✓ Initial release ✓ Auto-fill prompts from URL parameters ✓ External integration via JavaScript API ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Details

  • Version
    1.1.2
  • Updated
    March 5, 2026
  • Offered by
    takoyaki
  • Size
    55.13KiB
  • Languages
    8 languages
  • Developer
    Email
    takoyaki.jp@ymail.ne.jp
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

Manage extensions and learn how they're being used in your organization
The developer has disclosed that it will not collect or use your data.

This developer declares that your data is

  • Not being sold to third parties, outside of the approved use cases
  • Not being used or transferred for purposes that are unrelated to the item's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes
Google apps