Gemini Default Model Setter

Automatically selects a specific model and its additional settings for Gemini upon page load, URL change, or tab return. The target patterns and script state can be easily configured via the extension menu.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

May akda
p65536
Mga pang araw araw na pag install
0
Kabuuan na installs
52
Mga Rating
2 0 0
Bersyon
1.5.0
Nilikha
2026-05-14
Na update
2026-07-09
Laki
73.2 KB
Lisensya
MIT
Nalalapat sa

Overview

Gemini Default Model Setter (GDMS) is a helper script designed for AI power users. It automatically forces Google Gemini to use your preferred specific model (e.g., "Flash" or "Pro") upon page load, URL change, or tab return.

Stop manually selecting your preferred model every time you start a new conversation. This script ensures you always start with your target model, while still preserving your freedom to manually switch to a different model (like "Flash" for quicker tasks) during the chat.


Cross-Script Compatibility

If you are using this script alongside my other tools, please ensure they meet the following minimum version requirements to ensure seamless integration and prevent conflicts:

  • AI UX Customizer (AIUXC): v1.4.3+
  • Quick Text Buttons (QTB): v3.3.3+
  • Gemini Default Model Setter (GDMS): v1.2.3+

Recent Updates

  • (2026-07-09) Adapted to Gemini model selector updates: Extended Thinking configuration is now completely streamlined into a direct menu toggle, eliminating text entries.

Key Features

  • Automatic Selection: Instantly selects your specified target model and sets your preferred Extended Thinking state when starting a new chat or opening an existing history thread.
  • Regex Targeting: Easily configure your target model name using case-insensitive Regular Expressions (e.g., Pro or Flash$) via an intuitive settings modal. * Multilingual Support: Model names are captured via user-defined Regular Expressions, and the Extended Thinking state is controlled via language-agnostic structural element tracking. The script works flawlessly across all Gemini interface languages (e.g., English and Japanese) with zero extra setup.
  • Preserves Manual Control: Sets the initial state but allows you to seamlessly switch models or toggle Extended Thinking manually if you need a different setup mid-task.
  • Lightweight & Resource-Efficient: Designed to minimize CPU and memory overhead. Instead of running heavy, continuous background loops, the script utilizes a transient DOM observer that activates only when necessary (such as initial load or SPA navigation) and immediately disconnects once the state is settled.
  • Auto-Check on Re-focus: An optional fail-safe feature that re-verifies and sets your target configurations when returning to the Gemini tab (useful for background loads or idle sessions).

Screenshots & Integration

Extension Menu

Settings Modal

  • Perfect Match: Works seamlessly with AI UX Customizer to enhance the overall visual interface and navigation of your AI chats.

Getting Started & Usage Guide

  • Initial Setup: Click your userscript manager extension icon (e.g., Tampermonkey) while on the Gemini page. Click "⚙️ Set Target Model Name" to open the settings modal and input your desired model pattern (e.g., Pro). To enable or disable the advanced reasoning feature, simply click "Set Extended Thinking: ON/OFF" directly within the manager menu for an instant, frictionless configuration.
  • Past Chat History: When you click a past chat thread from the sidebar, the script will automatically switch it to your target model, allowing you to seamlessly continue past brainstorming with your highest-tier model.
  • About "Auto-Check on Re-focus":
    • Default is OFF.
    • When turned ON, the script checks the model and Extended Thinking state every time you switch back to the Gemini tab. This is great for idle tabs, but note: if you manually changed the model or toggled Extended Thinking and then switched browser tabs, returning to Gemini will automatically reset them back to your target configurations. Keep this OFF if you frequently use manual switching alongside heavy tab-switching.

Tested Environment

  • This script is primarily developed and tested on Firefox with Tampermonkey.
  • It is also confirmed to work on Chromium-based browsers, but testing on these platforms is less extensive.

More info

Full Guide & Details on GitHub:


This script is open-source and licensed under the MIT License.