READ THIS: As TheButton expirement is now ended, this will NOT work. But you can still adapt the code for your own extension.
/r/thebutton is a social experiment on reddit. It was at first a April Fools' joke, but became very popular among redditors.
This is a opensource Chrome extention to watch it.
It features a clean yet very easy interface.
It only calls reddit once, to get a socket url, to connect to the button tick and get the time.
Whenever you want, you can stop the background worker (and disable the extension).
Is the worker stuck ? You can hit this button to fix every problem you encounter.
Also refreshes the stats.
Take a big breath, click on this link (opens /r/thebutton) then hit dat betteun !
Display the number of non-pressers (the same on the page) connected on the page.
You have to refresh to get the new count (as people connect / disconnect to the site)
Calculated max time to live in seconds for thebutton if everybody hits thebutton at 1 second.
New pressers count since you have launched your browser.
May not work if the watched is stopped or not connected to thebutton ticks.
Last flair/time get by the presser.