TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Checkbox Olympics

148 pointsby Gedxxalmost 3 years ago

24 comments

brzezmacalmost 3 years ago
Looks like a good place to workout before attempting to switch off notifications in some popular applications.
评论 #31822069 未加载
acomjeanalmost 3 years ago
When done, don&#x27;t forget to click the &quot;back&quot; arrow in the upper left corner. There is another checkbox event (hurdles...)<p>In a weird way this reminds me of the old 80s &quot;epyx&quot; sports game which seemed to involve typeing keys as fast as you can.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Summer_Games_(video_game)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Summer_Games_(video_game)</a>
评论 #31822085 未加载
klenwellalmost 3 years ago
My &quot;speedrun&quot;:<p><pre><code> var simulateClick = function (elem) { &#x2F;&#x2F; Create our event (with options) var evt = new MouseEvent(&#x27;click&#x27;, { bubbles: true, cancelable: true, view: window }); &#x2F;&#x2F; If cancelled, don&#x27;t dispatch our event var canceled = !elem.dispatchEvent(evt); }; var run = () =&gt; { var el = document.querySelector(&#x27;input[type=checkbox]:not(:checked)&#x27;) simulateClick(el) } setInterval(run, 100)</code></pre>
评论 #31820463 未加载
评论 #31820501 未加载
评论 #31822837 未加载
评论 #31820468 未加载
评论 #31831478 未加载
msoadalmost 3 years ago
<p><pre><code> $(&#x27;.readyButton&#x27;).click(); setTimeout(()=&gt; [...document.querySelectorAll(&#x27;input[type=&quot;checkbox&quot;]&#x27;)].map(cb =&gt; cb.click()), 3000) </code></pre> This gives me 0.143 in Safari which is just a proof that DOM is freaking slow haha!
评论 #31824044 未加载
评论 #31822790 未加载
评论 #31822861 未加载
评论 #31823675 未加载
评论 #31822951 未加载
indifferentalexalmost 3 years ago
Some of us have our stash of ~10 domain names for our side projects (that we renew year after year, with some embarrassment). Tim&#x27;s got 90 linked from <a href="https:&#x2F;&#x2F;theuselessweb.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;theuselessweb.com&#x2F;</a><p>I wonder if he renews them on the cheap somehow, either way there are some really funny ones in there
butzalmost 3 years ago
Are you intentionally setting random tabindex values just to mess with keyboard users? I would like to suggest adding &quot;Checkbox Paralympics&quot; version, where keyboard users could compete too.
demindiroalmost 3 years ago
I decided to use Python instead of JS for this:<p><pre><code> import pyautogui as m from fastgrab import screenshot m.PAUSE = 0 while 1: x, y = m.position() r, g, b, _ = screenshot.Screenshot().capture((x, y, 1, 1))[0][0] if (r, g, b) in ((50, 205, 50), (127, 224, 127)): break m.moveRel(-35, 105) for _ in range(27): m.click() m.moveRel(23, 0) m.click() </code></pre> My record is 0.03 in FF<p>EDIT: 0.02 in Chromium
LittlePeteralmost 3 years ago
r&#x2F;mildlyinteresting, but would have been better if after the race you were shown your rank among other participants.
评论 #31823768 未加载
thih9almost 3 years ago
Similar, a bit more challenging: <a href="https:&#x2F;&#x2F;checkboxrace.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;checkboxrace.com&#x2F;</a>
评论 #31821508 未加载
Benanovalmost 3 years ago
This basically told me I need a new &#x2F; different trackball. The coefficient of static friction is too high in my current one to do this accurately - I need more force to start the ball rolling than I need to move to the next checkbox.<p>I&#x27;m using a Sanwa Supply one now<p>Looks like it might be a ploopy with BTS instead of their rollerbearings.
评论 #31825166 未加载
texaslonghorn5almost 3 years ago
Cool game! Doesn&#x27;t really work for me on mobile because the second box is obscured by the SET button.
评论 #31820445 未加载
usrusralmost 3 years ago
Kind of like minesweeper, but without the strategy part?<p>Because once a minesweeper addict has reached a certain base level of skill, the strategy part stops to be about where the mines are, it becomes all about reordering the click queue for speed. (don&#x27;t ask me how I know)
elchiefalmost 3 years ago
&quot;Set&quot; covers the 2nd checkbox. Fun
loudthingalmost 3 years ago
It would be nice if I got to see how I did against other players.
评论 #31824432 未加载
galoisgirlalmost 3 years ago
What am I doing with my life...
评论 #31821470 未加载
someweirdpersonalmost 3 years ago
On my tablet the slightes movement of the pen causes firefox to select stuff instead of switching the checkbox. Causes extreme slow-down.<p>Under normal circumstances I don&#x27;t like websites to try to mess with selection, copynpaste, ... but in this case it would be both helpful and justified.
poiuyytrewqalmost 3 years ago
setInterval(() =&gt; { if(document.querySelector(&#x27;.going&#x27;)) { document.querySelectorAll(&#x27;.theSport input&#x27;).forEach(box =&gt; { box.click(); }); }}, 10);
crazywulfalmost 3 years ago
best game! Time: 9.598<p>edit 1: 9.004 at my pixel, i am mobile gamer now! pog<p>edit 2: 6.446 on phone !
评论 #31821325 未加载
pickpuckalmost 3 years ago
I think this demonstrates that:<p>1) the hit area of native checkboxes should be larger, and<p>2) fieldsets with checkboxes should come with a native &quot;Toggle All&quot; button
评论 #31825326 未加载
nickcwalmost 3 years ago
Aargh - no keyboard shortcuts allowed!<p>That&#x27;s me knocked out in the qualifying rounds of the checkbox olympics ;-)
moralestapiaalmost 3 years ago
More like Carpal Olympics, amirite?
mywacadayalmost 3 years ago
In Chrome on a Note 10+ Set is covering the second checkbox and is uncheckable
conorclearyalmost 3 years ago
15 and change on desktop Firefox
sxvalmost 3 years ago
13.533 on a mbp trackpad