Skip to content

Instantly share code, notes, and snippets.

@atommarvel
Created December 5, 2013 20:19
Show Gist options
  • Save atommarvel/7813149 to your computer and use it in GitHub Desktop.
Save atommarvel/7813149 to your computer and use it in GitHub Desktop.
Select all 2s for the cog-sci survey: https://docs.google.com/forms/d/1FkufmvCmpl4U8zf4eWc49f5OiNsOxmRT0INWQ6o_FuU/viewform just open up the javascript console (crtl-shift-i) and paste this in and hit enter
var btns = document.getElementsByClassName("ss-q-radio");
for(var x = 0; x<btns.length; x++){
if(parseInt(btns[x].getAttribute("value")) == 2)
btns[x].click();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment