Skip to content

Instantly share code, notes, and snippets.

@Nessworthy
Created October 27, 2014 12:49
Show Gist options
  • Save Nessworthy/3338b8fda083c6c0598c to your computer and use it in GitHub Desktop.
Save Nessworthy/3338b8fda083c6c0598c to your computer and use it in GitHub Desktop.
PickerBot for game.ioxapp.com/color
/**
* Run this in your console, close your console and hit "Start". Refresh the page afterwards.
*/
setInterval(function() {
var colors = {};
$('#box').children().each(function() {
var t = $(this);
var x = t.css('background-color');
if(typeof colors[x] == "undefined") {
colors[x] = t;
} else {
colors[x] = false;
}
});
Object.keys(colors).map(function(key) {
if(colors[key] !== false) {
colors[key].click();
}
});
}, 5); // Will attempt to solve the active puzzle every 5ms. If you think you can go faster without your browser imploding, reduce this number.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment