Disable Broken Deep Research Button

Fixes a bug where Gemini constantly re-enables the Deep Research button by waiting for generation to complete before disabling it.

Author
C Pritch
Daily installs
0
Total installs
2
Ratings
0 0 0
Version
2025.07.11.2
Created
2025-07-11
Updated
2025-07-11
Size
3.42 KB
License
MIT
Applies to

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.