• Bubble
  • Bubble
  • Line
Check all checkboxes on a website that only allows you do to it manually
Andrei Clinciu Article AUthor
Andrei Clinciu
  • 2011-12-11T17:16:00Z
  • 1 min to read

So I had this issue the other day.. In 2009 some websites still have manual checkboxes.. Yeeks

You want to select all checkboxes on a website and it only allows you to do it manually?:D

Install firefox if you don't already have it. Install firebug.

NOTE FROM 2016:  You can use almost any browser these days since they all seem to have copied the "inspect element" thing from Firebug.

Open firebug..
type the following in the console:

function check_all_in_document(doc){var c = new Array();c = doc.getElementsByTagName('input');for (var i = 0; i < c.length; i++){\tif (c[i].type == 'checkbox')\t{\t\tc[i].checked = true;\t}}}function checkem(){check_all_in_document(window.document);for (var j = 0; j < window.frames.length; j++){\tcheck_all_in_document(window.frames[j].document);}}

click run:)
have fun!
checkem();

Ideas and comments

Andrei Clinciu
Andrei Clinciu

I'm a Full Stack Software Developer specializing in creating websites and applications which aid businesses to automate. Software which can help you simplify your life. Let's work together!

Building Great Software
The digital Revolution begins when you learn to automate with personalized software.

Find me on social media