// ==UserScript== // @name MooMoo right click auto feed // @namespace http://tampermonkey.net/ // @version 1.08 // @description Uses food when right clicked // @author meatman2tasty // @match http://moomoo.io/* // @grant none // @downloadURL none // ==/UserScript== $("#gameCanvas").mousedown(function(ev){ if(ev.which == 3) { document.getElementById("actionBarIcon5").click(); } }); document.addEventListener("keydown", function(a) { if (a.keyCode == 16) { document.getElementById("actionBarIcon5").click(); } }, false); document.addEventListener("keydown", function(a) { if (a.keyCode == 16) { document.getElementById("actionBarIcon6").click(); } }, false); $("#gameCanvas").mousedown(function(ev){ if(ev.which == 3) { document.getElementById("actionBarIcon6").click(); } }); window.oncontextmenu = function () { return false; };