let button = document.getElementsByClassName('main-btn'); let clicker = setInterval(() => button[0].click(), 1); To stop, use this: window.clearInterval(clicker);
> Fantastic encapsulation and commentary on the modern web and attentionspace.
This is why I quit Hearthstone even though I never spent a dime on it. I realized I had been habituated into playing it every day. I started feeling like a lab rat trained to push a button for a reward.
That's one of the things that makes Stimulation Clicker so good, by being exposed to the most extreme version, it helps you identify other engineered attention grabbers in everyday life.
Cookie Clicker taught me this about Destiny and Destiny 2 as well.
I got a lot of enjoyment out of those games - and they were partly the backdrop to socialising online with IRL friends who didn't live close to me - but at some point the absurdity of them became too obvious and we stopped. "moved on" - to Call of Duty.
> This is why I quit Hearthstone even though I never spent a dime on it.
Good news, you now have time to pick up The Bazaar instead! (joke aside, it's quite fun, a lot more chill, and not nearly as exploitative as Hearthstone)
Comments (589) 300 threads
Show all comments
Showing thread 6 of 300
There's certainly better ways to do this, but here's one way to automate 1000 clicks from the console:
Automating this art piece probably also says ... something.let button = document.getElementsByClassName('main-btn');
let clicker = setInterval(() => button[0].click(), 1);
To stop, use this:
window.clearInterval(clicker);
This is why I quit Hearthstone even though I never spent a dime on it. I realized I had been habituated into playing it every day. I started feeling like a lab rat trained to push a button for a reward.
Now back to my coding job, I really have to focus and push enough of these buttons or I’ll get fired and won’t get my pay
Continue this thread — 1 reply
Well...
http://ivark.github.io/
Continue this thread — 1 reply
So like a hobby?
Did you have fun playing it?
I got a lot of enjoyment out of those games - and they were partly the backdrop to socialising online with IRL friends who didn't live close to me - but at some point the absurdity of them became too obvious and we stopped.
"moved on" - to Call of Duty.
Good news, you now have time to pick up The Bazaar instead! (joke aside, it's quite fun, a lot more chill, and not nearly as exploitative as Hearthstone)
Continue this thread — 1 reply
Why not just use setInterval?
Then to stopContinue this thread — 1 reply
```
setInterval(() => { let max = 100; while(max-->0) { let price = +document.querySelector(".last-price").textContent.trim().slice(1).replace(",","").split("\n")[0]; if (price > 20000) { document.querySelector(".stock-sell").click(); } else if (price < 10000) { document.querySelector(".stock-buy").click(); } else { break; } } })
```
Continue this thread — 5 more replies