您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
W = Macro Feed
// ==UserScript== // @name Petridish.pw Script | W Speed Feed // @namespace http://tampermonkey.net/ // @version 4.1 // @description W = Macro Feed // @author TIG3RSHIFT // @match http://petridish.pw/* // @run-at document-end // @grant none // ==/UserScript== window.addEventListener('keydown', keydown); window.addEventListener('keyup', keyup); var Feed = false; var Dingus = false; var imlost = 25; document.getElementById("instructions").innerHTML += "<center><span class='text-muted'><span data-itr='instructions_e'> Press <b>E</b> to Tricksplit</span></span></center>"; document.getElementById("instructions").innerHTML += "<center><span class='text-muted'><span data-itr='instructions_3'> Press <b>Z</b> to Triplesplit</span></span></center>"; document.getElementById("instructions").innerHTML += "<center><span class='text-muted'><span data-itr='instructions_d'> Press <b>D</b> to Doublesplit</span></span></center>"; document.getElementById("instructions").innerHTML += "<center><span class='text-muted'><span data-itr='instructions_d'> Press <b>R</b> to Popsplit</span></span></center>"; document.getElementById("instructions").innerHTML += "<center><span class='text-muted'><span data-itr='instructions_q'> Press and hold <b>W</b> for macro feed</span></span></center>"; load(); function load() { if (document.getElementById("overlays").style.display!="none") { document.getElementById("settings").style.display = "block"; if (document.getElementById('showMass').checked) {document.getElementById('showMass').click();} document.getElementById('showMass').click(); if (document.getElementById('darkTheme').checked) {document.getElementById('darkTheme').click();} document.getElementById('darkTheme').click(); // Don't switch the code becauce the script will not work ! } else { setTimeout(load, 100); } } function keydown(event) { if (event.keyCode == 87) { Feed = true; setTimeout(fukherriteindapussie, imlost); } } // When Player Lets Go Of W, It Stops Feeding function keyup(event) { if (event.keyCode == 87) { Feed = false; } if (event.keyCode == 79) { Dingus = false; } } // Feed Macro With W function fukherriteindapussie() { if (Feed) { window.onkeydown({keyCode: 87}); window.onkeyup({keyCode: 87}); setTimeout(fukherriteindapussie, imlost); } } function ilikedick() { $("body").trigger($.Event("keydown", { keyCode: 32})); $("body").trigger($.Event("keyup", { keyCode: 32})); }