Facebook
From Colorant Plover, 5 Days ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 35
  1. f(board) { var fields = $("input[name*="+board+"][type=checkbox]").prev("a"); var field = fields[0]; var checked = 0; while(checked < 25) { if (checked < 19) { $(field).trigger("click").trigger("click").trigger("click"); } else { $(field).trigger("click"); } field = $(field).parent().next().find("a"); checked++; }; } $("#buttonRandom").click(); setTimeout(function() { f("defence"); f("attack"); $("#buttonPlay").click(); }, 400);