Minefun Full Bright

full bright with levels (press "." )

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

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

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!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

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

// ==UserScript==
// @name         Minefun Full Bright
// @namespace    http://tampermonkey.net/
// @author       quang
// @version      1.4
// @description  full bright with levels (press "." )
// @match        *://minefun.io/*
// @grant        none
// @license      VN
// ==/UserScript==
 
(function () {
    'use strict';
 
    let level = 0;
    let styleTag = null;
 
    const levels = [
        '',
 
        /* Level 1 – Creative vanilla */
        `
        canvas {
            filter: brightness(1.18) contrast(1.04) saturate(1.08) !important;
        }
        `,
 
        /* Level 2 – Creative+ (recommended) */
        `
        canvas {
            filter: brightness(1.28) contrast(1.06) saturate(1.10) !important;
        }
        `,
 
        /* Level 3 – Cave clear */
        `
        canvas {
            filter: brightness(1.38) contrast(1.08) saturate(1.12) !important;
        }
        `,
 
        /* Level 4 – Ultra bright */
        `
        canvas {
            filter: brightness(1.48) contrast(1.10) saturate(1.14) !important;
        }
        `,
 
        /* Level 5 – MAX BRIGHT (very strong) */
        `
        canvas {
            filter: brightness(1.60) contrast(1.12) saturate(1.16) !important;
        }
        `
    ];
 
    function applyLevel() {
        if (styleTag) styleTag.remove();
 
        if (level === 0) {
            styleTag = null;
            console.log('[FULL BRIGHT] OFF');
            return;
        }
 
        styleTag = document.createElement('style');
        styleTag.innerHTML = `
            ${levels[level]}
 
            /* Remove darkness overlays */
            canvas + div,
            div[style*="rgba(0, 0, 0"],
            div[style*="box-shadow"] {
                background: transparent !important;
                box-shadow: none !important;
            }
        `;
        document.head.appendChild(styleTag);
        console.log('[FULL BRIGHT] LEVEL', level);
    }
 
    document.addEventListener('keydown', e => {
        if (e.key === '.') {
            level = (level + 1) % 6; // 0 → 5
            applyLevel();
        }
    });
})();