Skip to content

Instantly share code, notes, and snippets.

@pinalbhatt
Created June 9, 2015 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pinalbhatt/bfbdbb1d805463efda04 to your computer and use it in GitHub Desktop.
Save pinalbhatt/bfbdbb1d805463efda04 to your computer and use it in GitHub Desktop.
Select-All-Checkboxes
//http://stackoverflow.com/questions/14245769/check-all-checkboxes-in-page-via-developer-tools
//run this in developer console.
(function() {
var aa = document.querySelectorAll("input[type=checkbox]");
for (var i = 0; i < aa.length; i++){
aa[i].checked = true;
}
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment