Drawaria Minimalistic ++

Это модифицированная версия Drawaria Minimalistic от "𝙎𝙞𝙡𝙡𝙮 𝘾𝙖𝙩`" - от оригинального скрипта почти ничего не осталось, добавлен кастомный фон, темная и светлая тема и убран вырвиглазный градиент. Также можно добавить музыку на фон. Оригинал - https://greasyfork.org/scripts/554305-drawaria-minimalistic

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey, Greasemonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Userscripts.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een gebruikersscriptbeheerder nodig.

(Ik heb al een user script manager, laat me het downloaden!)

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

(Ik heb al een beheerder - laat me doorgaan met de installatie!)

// ==UserScript==
// @name         Drawaria Minimalistic ++
// @namespace    http://tampermonkey.net/
// @version      20260329.2
// @description  Это модифицированная версия Drawaria Minimalistic от "𝙎𝙞𝙡𝙡𝙮 𝘾𝙖𝙩`" - от оригинального скрипта почти ничего не осталось, добавлен кастомный фон, темная и светлая тема и убран вырвиглазный градиент. Также можно добавить музыку на фон. Оригинал - https://greasyfork.org/scripts/554305-drawaria-minimalistic
// @author       Соёлын Үндсэрхэг Эх Оронч (𝙎𝙞𝙡𝙡𝙮 𝘾𝙖𝙩`)
// @match        https://drawaria.online
// @grant        none
// @license MIT
// @supportURL   https://greasyfork.org/scripts/554305-drawaria-minimalistic
// ==/UserScript==

(function() {
    'use strict';

    const bg_url = 'https://images.wallpaperscraft.com/image/single/snow_field_fence_320619_1920x1080.jpg'
    const audio_url = ''
    const dark_theme = true
    const loginbox_dark_theme = false

    const removeSelectors = [
        ".extimages",
        "#gameadsbanner",
        ".sitelogo",
        ".footer",
        "#browserwarning",
        'div[style*="border-top: #00b7ff"]',
        "#yandex_rtb_R-A-669506-1",
        ".row.promlinks"
    ];
    removeSelectors.forEach(sel => document.querySelectorAll(sel).forEach(el => el.remove()));

    const removeThese = [
        "friends-wg",
        "avatarcontainer",
        "continueautosaved-group",
        "playername",
        "playernamebuttons",
        "langselector",
        "accountsettingsmenu"
    ];

    removeThese.forEach(id => {
        const element = document.getElementById(id);
        element.style.display = 'none';
    });

    const table_sm = document.querySelector('.table.table-borderless.table-sm')
    const tbody = table_sm.tBodies[0]
    if (loginbox_dark_theme === true) {
        tbody.style.color = '#111111'
    } else {
        tbody.style.color = '#f4ede4'
    }


    let bgDiv = document.createElement("div");
    bgDiv.id = "bgDiv";
    Object.assign(bgDiv.style, {
        position: "fixed",
        top: "0",
        left: "0",
        width: "100%",
        height: "100%",
        zIndex: "0",
        pointerEvents: "none",
        backgroundSize: "200% 200%",
        transition: "background 0.5s"
    });
    document.body.insertBefore(bgDiv, document.body.firstChild);


    const loginContainer = document.getElementById("login-midcol");
    loginContainer.style.background = "transparent";
    loginContainer.style.position = 'fixed';
    loginContainer.style.right = '10px';
    loginContainer.style.bottom = '10px';

    const pidor = document.getElementById("login-rightcol"); pidor.style.background = "transparent";
    const pidori = document.querySelector('#login-rightcol .loginbox'); pidori.style.background = "transparent";

    const buttons = document.querySelectorAll(".btn");
    buttons.forEach(btn => {
    if (dark_theme === true) {
        btn.style.background = '#111111';
        btn.style.color = "#f4ede4";
    } else {
        btn.style.background = '#f4ede4';
        btn.style.color = "#111111";
    }

    btn.style.fontWeight = "bold";
    btn.style.border = "none";
    });

    bgDiv.style.background = "url('" + bg_url + "')";

    const audio = new Audio(audio_url);
    audio.play();
})();