# Autoclicker for [One Million Checkboxes](https://onemillioncheckboxes.com) I've created a bookmarklet autoclicker for One Million Checkboxes. Here is the source code: ```JavaScript (() => { alert('Autoclicker started. If prompted, disallow alerts in the next alert.'); // First alert box. alert('Disable me!'); // Immediately a second alert box. Should give the user an option to disallow alerts in the running session of the site. setInterval(() => { const cb = document.querySelector('input[type=checkbox]:not(:checked):not([disabled])'); // Get the checkbox if (!cb) return; // Skip this iteration if none was found cb.click(); // Activate the checkbox cb.scrollIntoView(); // Scroll to it to continue loading new boxes automatically document.querySelector('input[type=number]').value = cb.id.substr(cb.id.indexOf('-') + 1); // Display the index of the last-autoactivated box in the "Jump to" box }, 202); // Set a 202ms interval to be as fast as possible without tripping the "Chill!" alert too often })(); // Call the above code ``` and below it can be found in link form: ```JavaScript javascript:(()=>{alert('Autoclicker started. If prompted, disallow alerts in the next alert.');alert('Disable me!');setInterval(()=>{const cb=document.querySelector('input[type=checkbox]:not(:checked):not([disabled])');if(!cb)return;cb.click();cb.scrollIntoView();document.querySelector('input[type=number]').value=cb.id.substr(cb.id.indexOf('-')+1);},202);})(); ```