Checkboxes
January 8, 2021 9:06 AM   Subscribe

 
Probably arguably a cheat code. Or something:
for (e of document.getElementsByTagName("input")) {
    e.checked = true;
}
posted by jedicus at 9:15 AM on January 8, 2021 [5 favorites]


It’s a nice toy for your phone on a Friday is what it is.
posted by Going To Maine at 9:16 AM on January 8, 2021


Alternative cheat code since the change event doesn't seem to trigger when programmatically checking a box:
document.querySelectorAll('input.checkbox').forEach(i => {i.checked = true; i.onchange();})
posted by Television Name at 9:22 AM on January 8, 2021


Unclicking is also satisfying
posted by not_the_water at 9:54 AM on January 8, 2021 [5 favorites]


Another alternative, since these checkboxes are a11y-friendly elements, is to hit Tab to select one and Space to check it (so you can just alternate between the two and expand things without needing the mouse).
posted by wanderingmind at 9:56 AM on January 8, 2021 [2 favorites]


new game:
  1. use Television Nam's cheat code 5 times.
  2. try to guess the original box so you can close everything with one click.
  3. add one point for each guess
  4. least points win.
posted by signal at 9:59 AM on January 8, 2021 [3 favorites]


Maybe I’m missing something, but every time I check one box I get two or three more. Too much like my real-world to-do list to be any real fun.
posted by anshuman at 11:16 AM on January 8, 2021 [4 favorites]


...if by 'game' you mean 'an annoying and pointless activity designed to waste your life and make you angry'.

Which is probably a fair enough definition.
posted by Sing Or Swim at 12:06 PM on January 8, 2021 [3 favorites]


If idle clickers have taught me anything it's that the definition of "game" is extremely loose and you're guaranteed to find someone who thinks any given game is pointless and anger-inducing.
posted by Mr.Encyclopedia at 1:46 PM on January 8, 2021 [3 favorites]


you can use it as a drawing tool if you want
posted by Merus at 8:42 PM on January 8, 2021 [3 favorites]


i hercules
i chop the hed
and kill the hydra
til it ded
but now wiv squares
lyk chikenpox
i poke the screen
i click the box
posted by Joe in Australia at 3:05 AM on January 9, 2021 [12 favorites]


Here's what a tab+space macro looks like (imgur mp4)
posted by quoquo at 8:44 AM on January 10, 2021


Poking at these checkboxes was a very pleasing three minutes of my life. Watching the macro video was also very nice. Thankyou for sharing!
posted by harriet vane at 2:36 AM on January 14, 2021


« Older Riding the Classics   |   cooking outside the box Newer »


This thread has been archived and is closed to new comments