Script Summary: Checks /b/ thread replies every 10 seconds, and updates if there is a change. Detects when the thread is deleted and informs user. Useful for seeing what happened to a thread before it was deleted while you were gone eating or whatever.
INSTRUCTIONS
------------
At the top-left of the page when on a thread, click "[Start updater]". Click it again ("[Stop updater]") to stop it.
CHANGELOG
------------
21 May, 2008:
1. Made the updater button fixed with the window and stuck it in the bottom right corner. So you don't have to scroll up to see what state it was in or turn it on/off.
2. Added color change to button. Green = on, Black = stopped, Red = 404
3. Timer stops after a request is sent and only starts again once the response is received and the new content is rendered. So now it's 10 seconds between updates instead of 10 seconds between requests. This keeps the requests from piling up if the user is on a slow connect and/or computer.
4. Added option to load content into hidden iframe. This allows new posts to be acted upon by other Greasemonkey scripts and the 4chan Extension. Unfortunately, it doesn't work with /b/ackwash yet since the event handlers are nullified when a reply is copied over to the current page. I may tweak /b/ackwash to handle that correctly since I'd really like to have both.
-- tkirby
--
16 May, 2008: Added...
1. Option to disable forms when thread dies. This keeps users from attempting to submit to dead threads.
-- tkirby
--
14 May, 2008: Complete re-write; much better
1. Added an If-Modified-Since request header and logic so that the script only pulls down a full page when the server says it's been modified. Otherwise it just grabs the HTTP header.
2. Lowered the server polling interval to 10 seconds. Since it doesn't pull a page if nothing has changed, the overhead is much lower.
3. Made the link toggle so you can turn it on and off.
4. Now stops polling when 404 is received.
5. Changed it to call 4chan's init()/reply() scripts so it doesn't have to contain its own copy.
6. Moved all configurable stuff to the top of the script.
-- tkirby
AUTHORS
------------
tkirby: http://userscripts.org/users/51887
Chris Done: http://userscripts.org/users/47932



