Live data from Hacker News

One Million Checkboxes

onemillioncheckboxes.com

131–140 of 320 posts

Re: One Million Checkboxes

#131
post #34
post #8

(developer here) this is....more popular than i expected. the server's gonna be having some problems for a while

I think there's a severe problem with this implementation. By using wrapping, I can't write "boobs" and have everyone else read my graffiti without them having having the same zoom wrapping point.

That sounds like a feature.

Re: One Million Checkboxes

#132

Earlier quoted context omitted.

I spent five minutes writing “hey you, yes you” only to read your comment and realize my message is unparsable for those not on mobile.

These days we say "encrypted" rather than "unparseable".

bcdofsteua perhaps.

Re: One Million Checkboxes

#138

At first I was clicking the top but people kept unchecking my stuff. Why can't we (we ? who's that we ?) all get along toward clicking them all ? So I figured there would be less people fighting down the window, right ? For a while I was alone. It was a boring and meaningless job but it felt peaceful. Then I met someone who's also checking boxes, 5 seconds top, they are gone. Okay, then I kept scrolling, checking box…

Why must you destroy things? I am merely trying to restore the checkboxes to their original state in nature.

Re: One Million Checkboxes

#140

// ==UserScript== // @name Check All Unchecked Checkboxes // @namespace http://tampermonkey.net/ // @version 1.0 // @description Check all unchecked checkboxes on the page // @author MechanicalFish // @match https://onemillioncheckboxes.com/ * // @grant none // ==/UserScript== (function() { 'use strict'; function checkAllCheckboxes() { var checkboxes = document.querySelectorAll('input[type="checkbox"]'); checkboxes.f…

This ain't gonna work for 1,000,000 checkboxes. You could try using requestAnimationFrame or querying only non-checked checkboxes querySelectorAll('input[type="checkbox"]:not(:checked)') or not calling checkAllCheckboxes for all mutations.

Edit: or just call querySelector('input[type="checkbox"]:not(:checked)') and do them one by one in some kinda while(true) loop

Post reply on HN