AI Studio Mod - Revert Scrollbar Update

Revert scrollbar

От 29.08.2025. Виж последната версия.

// ==UserScript==
// @name         AI Studio Mod - Revert Scrollbar Update
// @namespace    https://greatest.deepsurf.us/users/137913
// @description  Revert scrollbar
// @author       TigerYT
// @version      1.0.0
// @match        *://aistudio.google.com/prompts/*
// @icon         https://www.gstatic.com/aistudio/ai_studio_favicon_2_32x32.png
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    let head = document.head || document.getElementsByTagName('head')[0];
    if (head) {
        let style = document.createElement('style');

        style.type = 'text/css';
        style.textContent = `
            ms-autoscroll-container:not(#_) { /* Gives +1 Free ID Specificity Point */
                overflow: visible;
            }

            ms-prompt-scrollbar {
                display: none;
            }
        `;

        head.append(style);
    };
})();