geezerModeform4c

makes chatbox bigger

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         geezerModeform4c
// @namespace    https://cytu.be/r/m4c
// @version      0.9
// @description  makes chatbox bigger
// @author       udnidgnik
// @match        https://cytu.be/r/m4c
// @icon         https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net
// @grant        none
// @license MIT
// ==/UserScript==
     
(function() {
    'use strict';

    // Function to check for the element and apply style
    function changeFontSize() {
        const messageBuffer = document.getElementById('messagebuffer');
        if (messageBuffer) {
            messageBuffer.style.fontSize = '2em';
            console.log('Font size changed!');
            observer.disconnect(); // Stop watching after element is found
        }
    }

    // Use MutationObserver to detect when DOM updates
    const observer = new MutationObserver(changeFontSize);
    observer.observe(document.body, { childList: true, subtree: true });

    // Run once in case the element is already there
    changeFontSize();
})();