Coming soon - Get a detailed view of why an account is flagged as spam!
view details

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.

6
Automatic button press script - testers wanted!
Post Body

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.

Author
Account Strength
0%
Account Age
16 years
Verified Email
Yes
Verified Flair
No
Total Karma
8,235
Link Karma
866
Comment Karma
7,358
Profile updated: 5 months ago
Posts updated: 7 months ago
1s

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
9 years ago