// ==UserScript==
// @name speedhack v3
// @version 0.1
// @description dsadsadsa
// @author adison
// @match http://jaruna.margonem.pl/
// @match http://game2.margonem.pl/
// @match http://zorza.margonem.pl/
// @match http://berufs.margonem.pl/
// @match http://experimental.margonem.pl/
// @grant none
// ==/UserScript==
! function(oldU, oldN) {
var i = 0;
var ready_to_runboost = false;
var box1 = document.createElement("div");
box1.id = "speed";
box1.style = "width: 15px; height: 15px; background: red; position: absolute; top: 228px; left: 95px; border-radius: 50%";
document.querySelector("#panel").appendChild(box1);
document.addEventListener("keyup", function(e) {
if (e.target.tagName != "INPUT" && e.target.tagName != "TEXTAREA" && e.which == 71 && ready_to_runboost == true) {
ready_to_runboost = false;
i = 0;
document.querySelector("#speed").style.background = "orange";
var runboost = setInterval(gameThread, 150);
setTimeout(function() {
document.querySelector("#speed").style.background = "red";
clearInterval(runboost);
}, 2000);
}
})
hero._u = function(e) {
i++;
if (i * 0.52 >= 10 && ready_to_runboost == false && document.querySelector("#speed").style.background == "red") {
document.querySelector("#speed").style.background = "green";
ready_to_runboost = true;
}
oldU.apply(this, arguments);
}
//ukrycie tej jebanej choinki w ithan pod ktora sie chowają cepy
newNpc = e => {
oldN(e);
for(var i in e){
var npc = e[i];
if(npc.id == "77002"){
document.querySelector(`#npc${npc.id}`).style.display = `none`;
break;
}
}
}
}(hero._u, newNpc)
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}