dgg
Last update on Apr 30, 2008
Keyword and sitename blacklist filter for digg
dgg fully integrates into the digg.com user interface. In your account's viewing preferences page, you specify keywords you'd like to block, separated by newlines. For example:
- iphone
- hillary
- obama
You may also specify websites that you'd like to block by prepending the site's name with "site:". For example:
- site:doubleviking.com
- site:veoh.com
- site:xkcd.com
Both work the same way: any article that matches any keyword or sitename is simply hidden from view. Up at the top of the page, dgg will indicate how many stories are blocked in this particular view. You may hover over this message to see the titles of the blocked articles. Clicking this message will take you to the dgg preferences page (ie: viewing preferences).
You could comment on this script if you were logged in.
3 comments
You could comment on this script if you were logged in.

login to vote
Okay, the author is still busy, so here is my update to this great script. http://ustice.googlepages.com/dgg.user.js
In the preferences you can add:
regex:^\d+
Now anything that starts with a number will be filtered out.
Now, here is my list:
site:theonion.com
regex:[\[\(]\+?(?:[pP]ic|[vV]id)s?[\]\)]
regex:^(?:[Tt][Hh][Ee] )?(?:[Tt]op )?\d+
regex:[Tt]op \d+
regex:\d+ [tT]op
regex:\d+ [^ ]+st
regex:^(?:[Tt][Hh][Ee] )?(?:[Tt]op )?(?:[Tt]hree|[Ff]our|[Ff]ive|[Ss]ix|[Ss]even|[Ee]ight|[Nn]ine|[Tt]en|[^ ]teen|[Tt]wenty|[Tt]hirty)
regex:(?:[Tt][Hh][Ee] )?(?:[Tt]hree|[Ff]our|[Ff]ive|[Ss]ix|[Ss]even|[Ee]ight|[Nn]ine|[Tt]en|[^ ]teen|[Tt]wenty|[Tt]hirty) [^ ]+st
I can't stand videos and pics, nor any of the spamy lists. Now, I (for the most part) don't see them.
Oh, and this version has the multiple page fix.
[Edit]
Note that I have updated the regex strings to match a few more lists. I now have a really high catch-rate.
login to vote
To get this script to work on more than the first page, simply replace line 53:
if(i == p.length-2 || i < 0) return mainFilter;with
if(i == p.length-2 || i < 0 || p.substr(i+2,4)=="page") return mainFilter;login to vote
It won't work on any page but the first!