This post has been de-listed (Author was flagged for spam)
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
So I took a little time to make an automated button-push script, just because I am a /r/patientpusher and want a number lower than 50. But... I haven't had a chance to test it. Any takers?
https://gist.github.com/EyeOfMidas/f4f861c87330d017c98c
Copy this javascript and visit http://thebutton.reddit.com. Paste it into the url bar, and then type javascript: in front of it. Pressing enter should execute the script, which will prompt you for your desired time.
Alternatively, if you're familiar with the javascript console (Chrome or firebug) you can just paste it there and get some informative messaging, too.
Chicken? It's ok, so am I. Here's the script but all it does is print out a console message telling you WHEN it would have clicked.
function clicker(){console.log("gonna do a click! Checking to make sure it's ok"),Math.floor(targetTime/1e3)==Math.floor(r.thebutton._msLeft/1e3)?console.log("Would click at " r.thebutton._msLeft):(console.log("Something went wrong. Clock says " r.thebutton._msLeft "ms. Starting over"),setTimeout(waiter,900))}function waiter(){var t=r.thebutton._msLeft;if(targetTime 1e3>t){var e=t-targetTime;console.log("close! only " e "ms to go!"),setTimeout(clicker,e/2)}else setTimeout(waiter,900)}function start(){var t=parseInt(prompt("Please enter your target time in seconds. [1 - 60]"));return targetTime=1e3*t,console.log("Ok, I'll aim for " t "."),waiter(),"Waiting patiently..."}var targetTime=56e3,watchingTheButton=document.getElementById("thebutton");start();
I would love any feedback on either the real script or the dummy.
Subreddit
Post Details
- Posted
- 9 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/thebutton/c...