Terminalsim

turn every font on WebSim to Terminal (yes this was made with ai im sorry)

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo 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         Terminalsim
// @description  turn every font on WebSim to Terminal (yes this was made with ai im sorry)
// @version      epic
// @author       ninjaboy (epic_guy)
// @match        https://websim.com/*
// @match        https://*.websim.com/*
// @match        *://*websim.*/*
// @icon         https://websim.ai/favicon.ico
// @run-at       document-start
// @license MIT
// @namespace ninjaboy999096.vercel.app
// @grant        none
// ==/UserScript==


(function () {
    'use strict';

    const css = `
        /* force Terminal font everywhere */
        * {
            font-family: "Terminal", monospace !important;
        }
    `;

    const styleTag = document.createElement('style');
    styleTag.setAttribute('data-terminalsim', 'true');
    styleTag.appendChild(document.createTextNode(css));

    const insertStyle = () => {
        if (!document.documentElement) return setTimeout(insertStyle, 2);
        const head = document.head || document.getElementsByTagName('head')[0] || document.documentElement;
        head.appendChild(styleTag);
    };
    insertStyle();

    console.log('TerminalSim: All fonts forced to Terminal.');
})();