// ==UserScript==
// @name MooMoo.io NeKross' HUD
// @author NeKross
// @namespace https://gf.qytechs.cn/en/users/663305-nekross
// @version 0.1
// @description NeKross' Private HUD (No Hack)
// @match http://moomoo.io/*
// @match https://moomoo.io/*
// @match http://45.77.0.81/*
// @match https://45.77.0.81/*
// @match *://moomoo.io/*
// @require http://code.jquery.com/jquery-3.3.1.min.js
// @icon https://yt3.ggpht.com/-rw78MA3GBOY/AAAAAAAAAAI/AAAAAAAAAAA/8haxGLIyt_Y/s240-c-k-no-mo-rj-c0xffffff/photo.jpg
// ==/UserScript==
////////////////////////////////////////////////////////////////////////////////////// Visual \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
/////////////////////////////////////////////////////////////////////////////////////// Tweaks \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
var moomooVer = $('#linksContainer2 .menuLink').html(),
hideSelectors = ['#mobileDownloadButtonContainer',
'#followText',
'#smallLinks',
'#linksContainer1',
'#twitterFollow',
'#youtubeFollow',
'#cdm-zone-02',
'#youtuberOf',
'#downloadButtonContainer',
'#promoImg',
'.menuHeader',
'.menuLink',
'.menuHeader:nth-child(5)',
'.menuHeader:nth-child(6)',
'.menuText',
'#adCard',
'#promoImgHolder',
],
css = '#rightCardHolder {display: block!important}',
head = document.head || document.getElementsByTagName('head')[0],
style = document.createElement('style');
style.type = 'text/css';
if (style.styleSheet){
style.styleSheet.cssText = css;
} else {
style.appendChild(document.createTextNode(css));
}
for ( let i = 0; i < hideSelectors.length; i++ ) {
$(hideSelectors[i]).hide();
}
head.appendChild(style);
$('#linksContainer2').html('<a href="./docs/versions.txt" target="_blank" class="menuLink">' + moomooVer + '</a>');
// document.getElementById('promoImgHolder').innerHTML = '</iframe><iframe width="420px" height="236.25px" src="https://www.youtube-nocookie.com/embed/GPATUFiWoTI" frameborder="0" allowfullscreen></iframe>';
// document.getElementById('adCard').innerHTML = '<iframe width="420px" height="236.25px" src="https://www.youtube-nocookie.com/embed/D3_2AIOEnZQ" frameborder="0" allowfullscreen></iframe>';
// document.getElementById('downloadButtonContainer').innerHTML = '</iframe><iframe width="420px" height="236.25px" src="http://icecast3.play.cz/evropa2-128.mp3"></iframe>';
// document.getElementById("gameUI").style.backgroundImage = "url('')";
// document.getElementById("mainMenu").style.backgroundImage = "url('')";
document.getElementById('enterGame').innerHTML = '? Play ?';
document.getElementById('loadingText').innerHTML = '?? Cracked By The Africans ??';
document.getElementById('nameInput').placeholder = "Username";
document.getElementById('chatBox').placeholder = "Message";
document.getElementById('diedText').innerHTML = '? Get Burnt ?';
document.getElementById('gameName').innerHTML = '?MooMoo?';
$('.menuCard').css({'white-space': 'normal',
'text-align': 'center',
'background-color': 'rgba(0, 0, 0, 0.74)',
'-moz-box-shadow': '0px 0px rgba(255, 255, 255, 0)',
'-webkit-box-shadow': '0px 0px rgba(255, 255, 255, 0)',
'box-shadow': '0px 0px rgba(255, 255, 255, 0)',
'-webkit-border-radius': '0px',
'-moz-border-radius': '0px',
'border-radius': '0px',
'margin': '15px',
'margin-top': '15px'});
$('#menuContainer').css({'white-space': 'normal'});
$('#nativeResolution').css({'cursor': 'pointer'});
$('#playMusic').css({'cursor': 'pointer'});
$('#guideCard').css({'overflow-y': 'hidden',
'margin-top': 'auto',
'margin-bottom': '30px'});
$('#serverSelect').css({'margin-bottom': '30.75px'});
$('#skinColorHolder').css({'margin-bottom': '30.75px'});
$('.settingRadio').css({'margin-bottom': '30.75px'});
$('#partyButton').css({'right': '70%',
'left': '10%',
'text-align': 'center',
'bottom': '48px',
'font-size': '24px',
'top': 'unset'});
$('#joinPartyButton').css({'right': '10%',
'left': '70%',
'text-align': 'center',
'bottom': '48px',
'font-size': '24px',
'top': 'unset'});
$('#linksContainer2').css({'-webkit-border-radius': '0px 0 0 0',
'-moz-border-radius': '0px 0 0 0',
'border-radius': '0px 0 0 0',
'right': '44%',
'left': '44%',
'background-color': 'rgba(0, 0, 0, 0.74)',
'text-align': 'center',
'bottom': '12px'});
$('#gameName').css({'color': '#21F0FF',
'text-shadow': '0 1px 0 rgba(255, 255, 255, 0), 0 2px 0 rgba(255, 255, 255, 0), 0 3px 0 rgba(255, 255, 255, 0), 0 4px 0 rgba(255, 255, 255, 0), 0 5px 0 rgba(255, 255, 255, 0), 0 6px 0 rgba(255, 255, 255, 0), 0 7px 0 rgba(255, 255, 255, 0), 0 8px 0 rgba(255, 255, 255, 0), 0 9px 0 rgba(255, 255, 255, 0)',
'text-align': 'center',
'font-size': '156px',
'margin-bottom': '-30px'});
$('#loadingText').css({'color': '#21F0FF',
'background-color': 'rgba(0, 0, 0, 0.74)',
'padding': '8px',
'right': '150%',
'left': '150%',
'margin-top': '40px'});
$('.ytLink').css({'color': '#144db4',
'padding': '8px',
'background-color': 'rgba(0, 0, 0, 0.74)'});
$('.menuLink').css({'color': '#144db4'});
$('#nameInput').css({'border-radius': '0px',
'-moz-border-radius': '0px',
'-webkit-border-radius': '0px',
'border': 'hidden'});
$('#serverSelect').css({'cursor': 'pointer',
'color': '#21F0FF',
'background-color': '#808080',
'border': 'hidden',
'font-size': '20px'});
$('.menuButton').css({'border-radius': '0px',
'-moz-border-radius': '0px',
'-webkit-border-radius': '0px'});
$('#promoImgHolder').css({'position': 'absolute',
'bottom': '-7%',
'left': '20px',
'width': '420px',
'height': '236.25px',
'padding-bottom': '18px',
'margin-top': '0px'});
$('#adCard').css({'position': 'absolute',
'bottom': '-7%',
'right': '20px',
'width': '420px',
'height': '236.25px',
'padding-bottom': '18px'});
$('#mapDisplay').css({'-webkit-border-radius': '0px',
'-moz-border-radius': '0px',
'border-radius': '0px'});
$('.menuHeader').css({'color': 'rgba(255, 255, 255, 1)'});
$('#killCounter').css({'color': '#ededed'});
$('#diedText').css({'background-color': 'rgba(0, 0, 0, 0.74)'});
$('#gameCanvas').css({'background-color': '#f4f4f4'});
$('#allianceButton').css({'color': 'rgba(0, 0, 0, 1)'});
$('#storeButton').css({'color': 'rgba(0, 0, 0, 1)'});
$('#chatButton').css({'color': 'rgba(0, 0, 0, 1)'});
$('.gameButton').css({'-webkit-border-radius': '0px 0 0 0',
'-moz-border-radius': '0px 0 0 0',
'border-radius': '0px 0 0 0',
'background-color': 'rgba(0, 0, 0, 0.4)'});
$('.uiElement, .resourceDisplay').css({'-webkit-border-radius': '0px',
'-moz-border-radius': '0px',
'border-radius': '0px',
'background-color': 'rgba(0, 0, 0, 0.4)'});
$('#chatBox').css({'-webkit-border-radius': '0px',
'-moz-border-radius': '0px',
'border-radius': '0px',
'background-color': 'rgba(0, 0, 0, 0.4)',
'text-align': 'center'});
$('#foodDisplay').css({'color': '#ae4d54'});
$('#woodDisplay').css({'color': '#758f58'});
$('#stoneDisplay').css({'color': '#818198'});
$('#scoreDisplay').css({'color': '#c2b17a'});
$('#leaderboard').css({'-webkit-border-radius': '0px',
'-moz-border-radius': '0px',
'border-radius': '0px',
'background-color': 'rgba(33, 240, 255, 0.4)',
'text-align': 'center'});
$('#ageText').css({'color': '#000'});
$('#ageBar').css({'-webkit-border-radius': '0px',
'-moz-border-radius': '0px',
'border-radius': '0px',
'background-color': 'rgba(0, 0, 0, 0.4)'});
$('#ageBarBody').css({'-webkit-border-radius': '0px',
'-moz-border-radius': '0px',
'border-radius': '0px',
'background-color': '#21F0FF'});
$('.storeTab').css({'-webkit-border-radius': '0px',
'-moz-border-radius': '0px',
'border-radius': '0px',
'background-color': 'rgba(0, 0, 0, 0.4)'});
$('#storeHolder').css({'-webkit-border-radius': '0px',
'-moz-border-radius': '0px',
'border-radius': '0px',
'background-color': 'rgba(0, 0, 0, 0.4)'});
$('#allianceHolder').css({'-webkit-border-radius': '0px',
'-moz-border-radius': '0px',
'border-radius': '0px',
'background-color': 'rgba(0, 0, 0, 0.4)'});
$('.actionBarItem').css({'-webkit-border-radius': '0px',
'border-radius': '0px',
'background-color': 'rgba(0, 0, 0, 0.4)'});
var myElement = document.querySelector('#nameInput');
myElement.style.backgroundColor = "#808080";
myElement.style.color = "#21F0FF";
var myElement = document.querySelector('#enterGame');
myElement.style.backgroundColor = "#21F0FF";
myElement.style.color = "#808080";