Gemini-Better-UI

Dynamic title, adjustable chat width, delete confirmation, and canvas layout toggle.

这些是此脚本变更过代码的版本。 显示所有版本。

  • v1.0.6 2025-07-15

    v1.0.6

    • New Feature: Enhanced Delete Confirmation
      • The chat title is now displayed directly within the delete confirmation dialog, preventing accidental deletions.
      • This is implemented using a flicker-free "Computed Style Restoration" method, ensuring a seamless user experience.
    • Complete Overhaul of Dynamic Title Logic
      • Replaced the old, unstable MutationObserver approach with a robust, event-driven model that hooks into the history API (pushState, replaceState, popstate).
      • Implemented a two-state system to correctly handle initial page loads vs. subsequent navigations.
      • The title update poll is now persistent for a set duration to correctly capture titles that are generated in two stages (e.g., temporary title from user prompt -> final title from Gemini).
    • Bug Fixes & Stability
      • Expanded the @match URL to *://gemini.google.com/* to ensure the script loads correctly on all Gemini sub-pages (like /apps, /sharing, etc.), fixing issues where functionality would fail if the user didn't start on the main /app page.
  • v1.0.5 2025-07-13

    v1.0.5

    • Improved Initial Title Loading: Enhanced the script to more reliably fetch the chat name on page load, even when the sidebar is initially hidden. This uses a more targeted approach to wait for the necessary elements to load.
    • Version Update: Updated script version to v1.0.5.

    v1.0.4

    • New Feature: Dynamic Tab Title
      • The browser tab title now automatically updates to the name of the currently selected conversation.
      • When no conversation is selected (e.g., on the homepage), the title reverts to the default "Gemini".
    • Robust Initialization & Bug Fixes
      • Implemented a waitForElement mechanism to handle Gemini's dynamic loading. This resolves timing issues where the script would fail because UI elements had not yet loaded.
      • This fix makes the script significantly more reliable, ensuring that all features (layout toggle, title updates) activate correctly even on slower connections or complex page loads.
    • Internal Code Refactoring
      • Restructured the initialization process to be more resilient and event-driven, waiting for components to be ready before attaching observers and functionality.
  • v1.0.3 2025-05-12

    Gemini Better UI v1.0.3 Changelog

    • Improved CSS injection method, updated button and alert styles.

      • Improved CSS Injection:
        • Replaced GM_addStyle with dynamic
  • v1.0.2 2025-05-09
  • v1.0.1 2025-05-09
  • v1.0 2025-05-09

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址