stoldark.com

Latestchatty Monitor

[ 21:40 ] Tuesday, June 7, 2005

Preface

This is the second time I play around with Greasemonkey to come up with a Shacknews script.

Inspired by bounty838's post, this little script checks to see whether the comment page you're currently browsing is the latest chat thread. If it is not, a notification will appear directly above the regular comments in a sticky post-like manner with a brief summary of the new chatty.

Features

Click here to see a preview of the script in action when viewing an expired chat thread.

Installation

  1. You'll need Firefox, preferably the latest version
  2. Install the latest version of the Greasemonkey extension for Firefox
  3. Click on this link and select Install

Notes

This script should not interfere with pup's Collapse Script or ThomW's Comment Filter Script (or my incarnation of said script). As mentioned already, this script will only affect any comments pages, however it will apply to previously non-chatty pages as well. Browsing of subthreads such as my link to bounty838's post, for example, remain unaffected.

Credits

Diego Benavides [ ieGod ]
Greasmonkey and PERL script author.

Additional Contributions

Dive Into Greasemonkey
Invaluable reference when working with Greasemonkey.

CPAN
Documentation on use of HTTP::Response and LWP::UserAgent with PERL.

Version History

2005.07.03:
Added: multiple alert prevention
Changed: improved style handling
2005.06.06:
Script now checks every 2 minutes
2005.06.02:
Code and release
Comment # mismatch due to filters