Skip to content

Instantly share code, notes, and snippets.

@166MMX
Created July 26, 2013 20:21
Show Gist options
  • Save 166MMX/6091932 to your computer and use it in GitHub Desktop.
Save 166MMX/6091932 to your computer and use it in GitHub Desktop.
(function () {
var dInputElements = document.getElementsByTagName('input');
for (var i = dInputElements.length - 1; 0 <= i; i--) {
var dInputElement = dInputElements[i];
if ('checkbox' === dInputElement.type) {
dInputElement.click();
}
}
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment