NHMEMod

NHME = Not Hack Map Edit

// ==UserScript==
// @name         NHMEMod
// @namespace    example.com
// @version      1.021
// @description  NHME = Not Hack Map Edit
// @match        *://moomoo.io/*
// @match        *://*.moomoo.io/*
// @match        *://sandbox.moomoo.io/*
// @match        *://dev.moomoo.io/*
// @match        *://mm_dev.moomoo.io/*
// @author       !~𝕀𝕄𝕩𝔻⁴₆¹₃#4613
// @grant        !~𝕀𝕄𝕩𝔻⁴₆¹₃#4613
// @logo         https://moomoo.io/img/favicon.png
// @compatible   Chrome
// @compatible   FireFox
// @compatible   Safari
// @compatible   Microsoft Edge
// @compatible   Opera
// @compatible   Maxthon
// @compatible   Dolphin
// @compatible   UC
// @compatible   Qupzilla
// @compatible   AdGuard
// ==/UserScript==

document.getElementById("followText").innerHTML = "Discord: !~𝕀𝕄𝕩𝔻⁴₆¹₃#4613"
document.getElementById("leaderboard").append('Only Use Map Edit!');;
document.getElementById('loadingText').innerHTML = 'LoAdInG...';
document.getElementById("youtubeFollow").remove();
$("#mapDisplay").css({background: `url('https://i.imgur.com/fx92l9k.png')`});
$("#promoImgHolder").css({display: "none"});
$("#consentBlock").css({display: "none"});
$("#youtuberOf").css({display: "none"});
$("#adCard").css({display: "none"});

document.getElementById("moomooio_728x90_home").style.display = "none";
$("#moomooio_728x90_home").parent().css({display: "none"});

window.onbeforeunload = null;

checkbox.addEventListener('change', function() {
    if (this.checked) {
        $("#mapDisplay").css({background: `url('https://i.imgur.com/fx92l9k.png')`});
        console.log('checked')
    } else {
        $("#mapDisplay").css({background: `rgba(0, 0, 0, 0.25)`})
        console.log('unchecked')
    }
})