Drawaria Minimalistic ++

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==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();
})();