Nintendo Wii forums Forum for writers phpBB mods Essays on copyright Dating advice Narnia forums

Greasemonkey script: Digg Done That

In the blog comments for my other Greasemonkey script, Alex requested that I create a script that would allow him to mark Digg stores as "read."  Doing this would make the story disappear, so that the only stories showing on the page would be the ones still unread.  It took months for me to find some free time, but I finally made the script.  Here's a screenshot of what it adds to digg.com stories:

screenshot of Digg Done That in action

Installation

If you're interested in using this script, you need to have the Greasemonkey plug-in installed in your Firefox browser.  If you've got that working, then you're ready: install Digg Done That.

Digg Done That?

Yeah, as in, "Been there, done that." It's what I mutter to myself as I'm clicking stories into oblivion. :)

I removed a bunch of stories that I want back!

If you remove some stories by mistake, you can get them to display again.  On digg.com, go to your profile ("My Profile" near the top of the page), then select the Settings tab (shown in the following screenshot).  On your settings page, you'll see an option to "Clear your read stories."  Select that and your list will be reset.

screenshot of Digg Done That settings

I don't want to undelete every story!

OK.  You can click the Greasemonkey icon at the bottom of your Firefox window to temporarily disable scripts.  Reload digg.com.  That will allow you to view the stories again, but it will preserve your list.  Click the Greasemonkey icon again to turn scripts back on.

Any tips?

Yeah.  I'm not sure what Firefox will do once a digg.com reader has marked thousands of stories as read.  For each story to hide, we have to save the story's ID.  That could end up as a massive amount of data (relatively speaking) that slows the browser.  So what I do is limit it to the 250 most recent IDs.  That should keep things snappy, but it may mean that really old stories (buried on page 50 or something) eventually reappear.  Hopefully you won't notice or care.  :)

Have fun!

Navigate

« The National Debt for the USA, by year | Main | Barack Obama, Jeremiah Wright »

Nav by tag: greasemonkey
« Greasemonkey Digg Filter | Main | Greasemonkey: PHP multi-byte string warnings »
Nav by tag: tech
« Updated The Blog Mod for phpBB 2.x | Main | Greasemonkey: PHP multi-byte string warnings »
Bookmark It! Technorati del.icio.us Netvouz DZone ThisNext Wists blinkbits BlinkList blogmarks blogtercimlap Blue Dot Bumpzee co.mments connotea DotNetKicks Fark feedmelinks Fleck Furl Gwar Haohao Hemidemi IndiaGram IndianPad Internetmedia kick.ie LinkaGoGo Linkter Ma.gnolia MyShare Netscape NewsVine PlugIM PopCurrent ppnow RawSugar Reddit Shadows Simpy Slashdot Smarking Spurl Webride YahooMyWeb
TrackBack

TrackBack URL for this entry:
http://www.outshine.com/cgi-bin/outshine/trackback.cgi/59

Post a comment

Verification (needed to reduce spam):