Message
Message
// @name nigger
// @namespace http://tampermonkey.net/
// @version 1.0.0
// @description
// @author
// @run-at document-start
// @match https://sploop.io/
// @icon https://sploop.io/img/ui/favicon.png
// @grant none
// ==/UserScript==
let Sploop;
const applyHooks = code => {
const Hook = new Regex(code, true);
window.COPY_CODE = (Hook.COPY_CODE.match(/^(\(function \w+\(\w+\)\{.+)\(.+?\);
$/) || [])[1];
Hook.append("EXTERNAL fix", /\(function (\w+)\(\w+\)\{/, "let $2 = eval(`(() =>
${COPY_CODE})()`);delete window.COPY_CODE;");
for(let a = 0; a !== 2; a++) Hook.replace("a", /&&\w+\(\)&&\w+\(\)\.\w+&&1===\
w+\(\)\.\w+\[\w+\(\)\.\w+\(\w+\)\]/, ``);
Hook.replace("idgay", /"ID "/, `""`);
/*
Hook.replace("defzoomheightgay", /1026/, "1500");
Hook.replace("defzoomwidthgay", /1824/, "2300"); // change the values in the
quotes to the right for higher/lower zoom. Render distance is static so it might
look a little weird
*/
Hook.append("showHoods", /\w+\.\w+!==\w+\)/, `||true`);
return Hook.code;
};