Skip to content

Instantly share code, notes, and snippets.

@kvz
Created July 7, 2011 12:00
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kvz/1069368 to your computer and use it in GitHub Desktop.
Save kvz/1069368 to your computer and use it in GitHub Desktop.
Uncheck 200+ boxes using chrome console on sites that neither support jquery nor have an 'unselect all' function :)
// In Chrome, right click => Inspect Element
// Goto the Console tab.
// Execute the following:
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(script);
$(':checkbox').prop('checked', false);
@renan
Copy link

renan commented Jul 7, 2011

Include in the comments:

// To execute it just copy the code below and paste on your location bar
// javascript:var s = document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='https://raw.github.com/gist/1069368/un_checkbox.js';void(0);

Makes easy to run it, can even save as a bookmark.

Regards,

@kvz
Copy link
Author

kvz commented Jul 7, 2011

nice! : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment