BetterMM

A cool customizer. Password 123

当前为 2023-04-21 提交的版本,查看 最新版本

// ==UserScript==
// @name         BetterMM
// @namespace    http://tampermonkey.net/
// @version      0.3
// @description  A cool customizer. Password 123
// @author       UNKKK
// @match        *://*.moomoo.io/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        GM_setValue
// @grant        GM_getValue
// @license      MIT
// ==/UserScript==

if (!GM_getValue('activatedBetterMooMoo') || !GM_getValue('activatedBetterMooMoo', "false")) {

var password = prompt('Please enter your password (In Greasyfork\'s description)')

if (password == null || password == "") {
  alert('The customizer could not be activated, This is because you pressed cancel or left the box blank, Reload the page and try again')
} else if (password === "123") {
  alert('Activating..')
  GM_setValue('activatedBetterMooMoo', "true")
  alert('Correct key! Successfully activated the script, Please reload the page!')
} else {
  alert('The customizer could not be activated, This is because you pressed cancel or left the box blank or you typed in the incorrect password, Reload the page and try again')
}

} else {
document.title = "BetterMM"
alert('Activated BetterMM v0.1')
// OUTSIDE \\
document.getElementById('gameName').innerHTML = 'BetterMM';
document.getElementById('gameName').style.color = "RED";
document.getElementById('gameName').style.textShadow = "0 0";
document.getElementById('setupCard').style.backgroundColor = "#ff4141"
document.getElementById('setupCard').style.boxShadow = "0 0"
document.getElementById('promoImgHolder').remove()
document.getElementById('rightCardHolder').style.display = "inherit"
document.getElementById('guideCard').style.backgroundColor = "#ff4141"
document.getElementById('guideCard').style.boxShadow = "0 0"
document.getElementById('youtuberOf').remove()
document.getElementById('joinPartyButton').remove()
document.getElementById('partyButton').style.color = "#ff4141"
document.getElementById('nameInput').style.backgroundColor = "#ffa4a4"
document.getElementById('nameInput').placeholder = "BetterMM Name"
document.getElementById('enterGame').innerHTML = "Deploy"
document.getElementById('enterGame').style.backgroundColor = "#6e0000"
document.getElementById('enterGame').style.color = "#ff0000"
document.getElementById('linksContainer2').style.backgroundColor = "#ff3535"
document.getElementById('ot-sdk-btn-floating').remove()
// OUTSIDE \\

// INSIDE THE GAME \\
document.getElementById('ageText').style.color = 'YELLOW'
document.getElementById('ageBarBody').style.backgroundColor = 'ORANGE'
document.getElementById('foodDisplay').style.color = '#ff0000'
document.getElementById('woodDisplay').style.color = 'LIMEGREEN'
document.getElementById('stoneDisplay').style.color = 'GRAY'
document.getElementById('scoreDisplay').style.color = 'YELLOW'
}