Disable Broken Deep Research Button

Fixes a bug where Gemini constantly re-enables the Deep Research button

目前為 2025-07-11 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
C Pritch
評價
0 0 0
版本
2025-07-11
建立日期
2025-07-11
更新日期
2025-07-11
尺寸
1.8 KB
授權條款
MIT
腳本執行於

About This Script

This script fixes a persistent and frustrating bug on Google's Gemini website (gemini.google.com) where the "Deep Research" button enables itself without user interaction.

If you prefer to have Deep Research off by default, you may have noticed that it often turns itself back on after you send a message, forcing you to disable it repeatedly. This script puts an end to that behavior.


How It Works

The script operates on a simple and predictable rule: The "Deep Research" button will be forced OFF until you explicitly click it yourself.

  1. Immediate Correction: As soon as the page loads, the script checks the button. If it's enabled, it will be immediately disabled. This fixes the issue where you start a new conversation and it's already on.
  2. Persistent Monitoring: The script continues to watch the button. If the Gemini interface enables it again after you send a prompt, the script will instantly disable it.
  3. User Takes Control: The script will stop interfering the moment you manually click the "Deep Research" button. That first click signals your intent to take control, and the script will not disable the button again for the remainder of your session.

Features

  • Automatic Disabling: Corrects the button's state on page load.
  • Fixes Post-Prompt Bug: Watches for and corrects the button if it re-enables after sending a message.
  • User-Controlled Override: A single click from you gives you full control.
  • Robust & Lightweight: Uses a MutationObserver for efficient monitoring and has no external dependencies. It correctly handles both the feature's functionality and its visual styling.