Arialsim

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

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği yüklemek için Tampermonkey gibi bir uzantı yüklemeniz gerekir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

Bu stili yüklemek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için Stylus gibi bir uzantı kurmanız gerekir.

Bu stili yükleyebilmek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı kurmanız gerekir.

Bu stili yükleyebilmek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         Arialsim
// @description  turn every font on WebSim to Arial (yes this was made with ai im sorry)
// @version      epic.1
// @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 styleTag = document.createElement('style');
    styleTag.setAttribute('data-arialsim', 'true');

    // Decide font size based on element size class (heuristic)
    // - bigger text: font-size >= 18px → 25px
    // - smaller text: font-size < 18px → 14.5px
    const css = `
        * {
            font-family: Arial, Helvetica, sans-serif !important;
        }
    `;

    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('Arialsim: All fonts forced to Arial.');
})();