Checkbox Olympics
21–30 of 51 posts
Re: Checkbox Olympics
#22When done, don't forget to click the "back" arrow in the upper left corner. There is another checkbox event (hurdles...) In a weird way this reminds me of the old 80s "epyx" sports game which seemed to involve typeing keys as fast as you can. https://en.wikipedia.org/wiki/Summer_Games_(video_game)
Re: Checkbox Olympics
#23Re: Checkbox Olympics
#24Re: Checkbox Olympics
#25 $('.readyButton').click(); setTimeout(()=> [...document.querySelectorAll('input[type="checkbox"]')].map(cb => cb.click()), 3000)
This gives me 0.143 in Safari which is just a proof that DOM is freaking slow haha!Re: Checkbox Olympics
#26Under normal circumstances I don't like websites to try to mess with selection, copynpaste, ... but in this case it would be both helpful and justified.
Re: Checkbox Olympics
#27$('.readyButton').click(); setTimeout(()=> [...document.querySelectorAll('input[type="checkbox"]')].map(cb => cb.click()), 3000) This gives me 0.143 in Safari which is just a proof that DOM is freaking slow haha!
Re: Checkbox Olympics
#28My "speedrun": var simulateClick = function (elem) { // Create our event (with options) var evt = new MouseEvent('click', { bubbles: true, cancelable: true, view: window }); // If cancelled, don't dispatch our event var canceled = !elem.dispatchEvent(evt); }; var run = () => { var el = document.querySelector('input[type=checkbox]:not(:checked)') simulateClick(el) } setInterval(run, 100)
document.querySelector('.readyButton').click();
waitForStart();
function waitForStart() {
if (document.querySelector('.setGo').classList.value.includes("going")) {
for(x=0; xRe: Checkbox Olympics
#29Because 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't ask me how I know)
Re: Checkbox Olympics
#30$('.readyButton').click(); setTimeout(()=> [...document.querySelectorAll('input[type="checkbox"]')].map(cb => cb.click()), 3000) This gives me 0.143 in Safari which is just a proof that DOM is freaking slow haha!
Wow in Chrome 102.0.5005.115 (Official Build) (arm64) it gives me 3.273s which proves that point even more