Send to Gemini
Send text to Gemini Chat via URL parameters, context menu, and custom prompts
As of June 2026, Send to Gemini has 277 users and a 2.00/5 rating from 2 reviews in the Productivity category.
Usersup 269.3 percent+269.3%
277
277
Ratingno change0%
2.00
2 reviews
Reviewsno change0%
2
Version
1.2.4
Manifest V3
90-day change · In the last 90 days this extension 2 version updates.
History
11 snapshotsTracking since Apr 1, 2026.
View as table
| Date | Users | Rating | Reviews | Version |
|---|---|---|---|---|
| Apr 1, 2026 | 75 | — | — | 1.2.0 |
| Apr 16, 2026 | 91 | 2.00 | 1 | 1.2.1 |
| Apr 22, 2026 | 125 | 2.00 | 2 | 1.2.4 |
| Apr 27, 2026 | 136 | 2.00 | 2 | 1.2.4 |
| May 4, 2026 | 145 | 2.00 | 2 | 1.2.4 |
| May 10, 2026 | 158 | 2.00 | 2 | 1.2.4 |
| May 15, 2026 | 168 | 2.00 | 2 | 1.2.4 |
| May 21, 2026 | 179 | 2.00 | 2 | 1.2.4 |
| May 28, 2026 | 199 | 2.00 | 2 | 1.2.4 |
| Jun 4, 2026 | 234 | 2.00 | 2 | 1.2.4 |
| Jun 9, 2026 | 268 | 2.00 | 2 | 1.2.4 |
| Now | 277 | 2.00 | 2 | 1.2.4 |
Changelog
- Apr 16, 2026description
【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 ✓ Context menu to send selected text to Gemini ✓ Large prompt support ■ 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】 To fill the prompt without automatically submitting it, 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. 【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 // Set false to fill without sending }, (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: - Does not work with file:// protocol (requires http:// or https://) 【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. ■ 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 【Add Custom Prompts via URL】 You can add custom prompts directly from an external URL. Place an "Add this prompt" link on websites or blogs to allow one-click custom prompt registration. ■ URL Format: chrome-extension://gklmoobnblcdiglifjmdilofgndghmml/add_custom_prompt.html?label=Menu+Label&prompt=Prompt+Template&base_url=Base+URL ■ Parameters: - label: Menu label (e.g., Translate to English) - prompt: Prompt template (e.g., Please translate the following text to English:) - base_url: Base URL (optional, e.g., https://gemini.google.com/gem/xxxxx) ■ How to Use: 1. Access a URL in the format above 2. A registration form pre-filled with the parameters is displayed 3. Edit the content as needed and click Save ■ Use Cases for URL-based Registration: - Place "Add this prompt" links on websites or blogs - Distribute URLs to share custom prompts within your team - One-click addition from prompt collection pages ■ 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. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 【Update History】 ■ Version 1.2.1 ✓ Added ability to add custom prompts directly via URL (supports prompt registration from external sites) ■ Version 1.2.0 ✓ You can now specify a base URL (e.g., app or gem URL) for each custom prompt ■ 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 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━【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 ✓ Context menu to send selected text to Gemini ✓ Large prompt support ■ 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】 To fill the prompt without automatically submitting it, 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. 【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 // Set false to fill without sending }, (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: - Does not work with file:// protocol (requires http:// or https://) 【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. ■ 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 【Add Custom Prompts via URL】 You can add custom prompts directly from an external URL. Place an "Add this prompt" link on websites or blogs to allow one-click custom prompt registration. ■ URL Format: chrome-extension://gklmoobnblcdiglifjmdilofgndghmml/add_custom_prompt.html?label=Menu+Label&prompt=Prompt+Template&base_url=Base+URL&auto_submit=1 ■ Parameters: - label: Menu label (e.g., Translate to English) - prompt: Prompt template (e.g., Please translate the following text to English:) - base_url: Base URL (optional, e.g., https://gemini.google.com/gem/xxxxx) - auto_submit: Enable/disable auto-submit (optional, default: true. Set false or 0 to disable) ■ How to Use: 1. Access a URL in the format above 2. A registration form pre-filled with the parameters is displayed 3. Edit the content as needed and click Save ■ Use Cases for URL-based Registration: - Place "Add this prompt" links on websites or blogs - Distribute URLs to share custom prompts within your team - One-click addition from prompt collection pages ■ 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. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 【Update History】 ■ Version 1.2.4 ✓ Fixed an issue where prompt auto-fill and send button auto-submit did not work correctly in certain environments ■ Version 1.2.1 ✓ Added ability to add custom prompts directly via URL (supports prompt registration from external sites) ■ Version 1.2.0 ✓ You can now specify a base URL (e.g., app or gem URL) for each custom prompt ■ 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 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - Apr 1, 2026description
【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 ✓ Context menu to send selected text to Gemini ✓ Large prompt support ■ 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】 To fill the prompt without automatically submitting it, 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. 【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 // Set false to fill without sending }, (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: - Does not work with file:// protocol (requires http:// or https://) 【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. ■ 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.2.0 ✓ You can now specify a base URL (e.g., app or gem URL) for each custom prompt ■ 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 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━【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 ✓ Context menu to send selected text to Gemini ✓ Large prompt support ■ 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】 To fill the prompt without automatically submitting it, 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. 【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 // Set false to fill without sending }, (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: - Does not work with file:// protocol (requires http:// or https://) 【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. ■ 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 【Add Custom Prompts via URL】 You can add custom prompts directly from an external URL. Place an "Add this prompt" link on websites or blogs to allow one-click custom prompt registration. ■ URL Format: chrome-extension://gklmoobnblcdiglifjmdilofgndghmml/add_custom_prompt.html?label=Menu+Label&prompt=Prompt+Template&base_url=Base+URL ■ Parameters: - label: Menu label (e.g., Translate to English) - prompt: Prompt template (e.g., Please translate the following text to English:) - base_url: Base URL (optional, e.g., https://gemini.google.com/gem/xxxxx) ■ How to Use: 1. Access a URL in the format above 2. A registration form pre-filled with the parameters is displayed 3. Edit the content as needed and click Save ■ Use Cases for URL-based Registration: - Place "Add this prompt" links on websites or blogs - Distribute URLs to share custom prompts within your team - One-click addition from prompt collection pages ■ 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. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 【Update History】 ■ Version 1.2.1 ✓ Added ability to add custom prompts directly via URL (supports prompt registration from external sites) ■ Version 1.2.0 ✓ You can now specify a base URL (e.g., app or gem URL) for each custom prompt ■ 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 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Permissions & access
- Permissions
- storagecontextMenus
- Host access
- None declared
Screenshots
About
【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
✓ Context menu to send selected text to Gemini
✓ Large prompt support
■ 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】
To fill the prompt without automatically submitting it, 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.
【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 // Set false to fill without sending
},
(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:
- Does not work with file:// protocol (requires http:// or https://)
【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.
■ 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
【Add Custom Prompts via URL】
You can add custom prompts directly from an external URL. Place an "Add this prompt" link on websites or blogs to allow one-click custom prompt registration.
■ URL Format:
chrome-extension://gklmoobnblcdiglifjmdilofgndghmml/add_custom_prompt.html?label=Menu+Label&prompt=Prompt+Template&base_url=Base+URL&auto_submit=1
■ Parameters:
- label: Menu label (e.g., Translate to English)
- prompt: Prompt template (e.g., Please translate the following text to English:)
- base_url: Base URL (optional, e.g., https://gemini.google.com/gem/xxxxx)
- auto_submit: Enable/disable auto-submit (optional, default: true. Set false or 0 to disable)
■ How to Use:
1. Access a URL in the format above
2. A registration form pre-filled with the parameters is displayed
3. Edit the content as needed and click Save
■ Use Cases for URL-based Registration:
- Place "Add this prompt" links on websites or blogs
- Distribute URLs to share custom prompts within your team
- One-click addition from prompt collection pages
■ 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.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
【Update History】
■ Version 1.2.4
✓ Fixed an issue where prompt auto-fill and send button auto-submit did not work correctly in certain environments
■ Version 1.2.1
✓ Added ability to add custom prompts directly via URL (supports prompt registration from external sites)
■ Version 1.2.0
✓ You can now specify a base URL (e.g., app or gem URL) for each custom prompt
■ 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
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━Technical
- Version
- 1.2.4
- Manifest
- V3
- Size
- 60.2KiB
- Min Chrome
- 88
- Languages
- 8
- Featured
- No
Metadata
- ID
- gklmoobnblcdiglifjmdilofgndghmml
- Developer ID
- u2f5a493cf894c6fee9c6ac9f847ca74e
- Developer Email
- [email protected]
- Created
- Feb 26, 2026
- Last Updated (Store)
- Apr 10, 2026
- Last Scraped
- Jun 9, 2026
- Website
- —
- Support URL
- —
- Privacy Policy
- —
Similar extensions
Alternatives to Send to Gemini, ranked by description similarity.
TaskRocket Automatic sending of prompt queue to Gemini
Automatic sending of prompt queue to Gemini
326
★ 4.8
Putenza Gemini
Putenza Gemini - Rendi Gemini flessibile, organizzato, alla massima PUUTENZAA!
9
★ 5.0
Prompt Enhancer
Enhance and craft AI prompts with Gemini Nano — chat, edit, and copy on ChatGPT, Gemini, Claude, and Perplexity
32
★ 5.0
Promptly
Use AI anywhere. Highlight text or screenshots to run custom actions and workflows like summarize, explain, or translate.
4
★ 5.0
Prompt Enhancer & Chat Navigator
Enhance prompts and navigate chat history on AI platforms.
1.0K
★ 4.9
Gemini Enhancer
Supercharge Gemini AI: custom slash commands, auto-tab renaming, chat folding, and message navigation. Boost your AI productivity.
64
★ 4.8
Promptly+
AI-powered assistant for enhancing your prompts.
1
Gemini AI Chat Organizer: Gemini 3, Nano Banana, Gemini Folders, Gemini™ WS
Gemini Organizer, Gemini chat, Nano Banana, Google Gemini Folders, save Prompts, pin messages, keep Notes & enhance inputs with AI.
492
★ 4.0
Data sourced from the Chrome Web Store · last verified Jun 9, 2026.