Skip to content

Instantly share code, notes, and snippets.

View A2R14N's full-sized avatar
😉

A2R14N A2R14N

😉
View GitHub Profile
@A2R14N
A2R14N / Fixed_CODE.js
Last active July 5, 2024 04:49 — forked from uptownhr/gist:888f27fcf4d636d0197dd5736514094a
One Million Checkboxes - Checker; One Million Checkboxes - console script; One Million Checkboxes - Chrome console; One Million Checkboxes - Firefox console; Million Checkboxes - Console; One Million Checkboxes - working script
// to copy and paste in your browser console after successfully loading https://onemillioncheckboxes.com/
let currentPosition;
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}
function getUncheckedCheckbox() {
const uncheckedCheckboxes = document.querySelectorAll('input[type=checkbox]:not(:checked)');