Created
April 28, 2014 20:49
-
-
Save JohnnySheffield/11383578 to your computer and use it in GitHub Desktop.
A small simple script to run in console for auto-playing Notch's game "Drowning in Problems" here: http://game.notch.net/drowning/#
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.setInterval(function(){ | |
elementList = document.querySelectorAll("a"); | |
for (var i = 0; i < elementList.length; ++i) { | |
var item = elementList[i]; | |
item.click(); | |
} | |
}, 100); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment