lowercase name and 5 emotes client.
// ==UserScript==
// @name lowercase name and 5 emotes client for starblast.io
// @version 1.0
// @description lowercase name and 5 emotes client.
// @author plxyer-x
// @match https://starblast.io/
// @run-at document-start
// @license hahahahahahahaha
// @grant none
// @namespace tampermonkey.org
// ==/UserScript==
(function() {
'use strict';
function log(msg) {
console.log(`%c[the client] ${msg}`, "color: #00FFC2");
}
localStorage.setItem('emopacity', '"5"');
function ClientLoader() {
if (window.location.pathname !== "/") return;
log("messin with the game's code a bit.....");
var url = "https://starblast.io";
var xhr = new XMLHttpRequest();
xhr.open("GET", url);
xhr.onreadystatechange = function() {
if (xhr.readyState === 4) {
var ClientCode = xhr.responseText;
if (!ClientCode) return log("aw damnit, it didnt work :(.");
log("Applying mods...");
ClientCode = ClientCode.replace(/\.toUpperCase\(\)/g, "");
ClientCode = ClientCode.replace(/text-transform:uppercase;/gim, "");
log("oh dang, both the features are working? omg imafkngod!");
ClientCode = ClientCode.replace(/>=4/g, ">=5");
ClientCode = ClientCode.replace(/value:4,skipauto:!0,type:"range",min:1,max:5/g, 'value:5,skipauto:!0,type:"range",min:1,max:5');
log("it worked?");
document.open();
document.write(ClientCode);
document.close();
log("time to troll some bozos :D");
}
};
xhr.send();
}
document.open();
document.write(
`<html><head><title>Loading...</title></head><body style="background-color:#000000;"><h1 style="text-align: center;padding: 170px 0;color:#00FFC2;font-family:Verdana;">loading the features...</h1></body></html>`
)
document.close();
ClientLoader();
})();