- Open your browser's development tools.
ctrl
+shift
+i
for chrome
- Copy-Paste the code from the robin.js file (below) into your console
- Smash
enter
var uarray = $("#robinUserList").children(); | |
var grows = 0; | |
var stays = 0; | |
var novotes = 0; | |
var leaves = 0; | |
for (var i = 0; i < uarray.length; i++) { | |
if(uarray[i].classList.contains("robin--vote-class--increase")) grows++; | |
if(uarray[i].classList.contains("robin--vote-class--continue")) stays++; | |
if(uarray[i].classList.contains("robin--vote-class--novote")) novotes++; | |
if(uarray[i].classList.contains("robin--vote-class--abandon")) leaves++; | |
} | |
var outstr = ""; | |
outstr+="GROW [" + grows + "/" + uarray.length + "]\n"; | |
outstr+="STAY [" + stays + "/" + uarray.length + "]\n"; | |
outstr+="QUIT [" + leaves + "/" + uarray.length + "]\n"; | |
outstr+="NONE [" + novotes + "/" + uarray.length + "]\n"; | |
alert(outstr); |