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

Greasemonkey Digg Filter

Screenshot of Digg Filter in action

Looking at the image kicking off this article, you might not even understand what you're seeing.  At least, I hope so.  I tried to integrate it well.  So what are you seeing?  The image is a screen capture of the logo area of the Digg home page... but there's something added – a keyword filter, to the right of the logo.

What's a keyword filter?

In this case, it kills articles for you, on the Digg site.  For example, say you wanted to see political articles, but you just couldn't stand one of the candidates running for office.  OK.  Enter that candidate's name into the filter text area, and click the filter button.  Now you'll see all the news except for items about that one candidate.  You can enter a lot of keywords, each one separated by a comma.

How does it work?

Case-insensitive, phrases OK.  Note that it searches the entire story area for your matches.  What this means is that if you filter out text that appears with every article – for example, the word "digg" or the word "bury" – then you'll see no articles at all.  It also means that you can filter out submitter names.  So be careful with your filters.

Also, note that it does not refresh or alter the page when you select the "filter" button.  Using that button merely saves your selected keywords.  It may appear that it didn't do anything at all.  But if you reload the page, you'll see the articles you dislike are gone.

Prerequisites

This is a Greasemonkey script.  So you'll need the Firefox browser running the Greasemonkey plugin.  I bet it could run in Opera with a little bit of tweaking.

Where can I get it?

As with all my other Greasemonkey scripts, I'll also put it on userscripts.org.

Navigate

« Diablo 2 Barbarian | Main | Getting back to healthy, weekend 1 »

Nav by tag: greasemonkey
« Fixing the City of Palo Alto site | Main | Greasemonkey script: Digg Done That »
Nav by tag: tech
« Fixing the City of Palo Alto site | Main | MTOS has a licensing problem, right out of the gate! »
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/31

Comments (19)
Alex writes:

Awesome! I love it. It works marvelously. I particularly dislike the marijuana stories that keep on cropping up. Thanks very much!

P.S. Hmm, might be weird of me to ask, but I have an idea for a script that you might or might not feel like writing. I love Digg, but I dislike scrolling past all the stories I've already read when I'm on the homepage. So, if you feel so inclined, you could script that displays an icon that says "I've Read It" next to each Digg story. Then, when the user clicks it, the script will just remove it from your news stream like your filter. Anyway, just an idea. I really appreciate your filter!


Tony writes:

Alex, your idea is in fact pretty good, and I bet the code I've already written would get me halfway there. I have rare free days -- this was my first script in a month. However, if I get another one soon, your idea is a definite consideration. I won't feel bad if you find someone else to build it, though. It's a good idea. Get it out there.


Tony writes:

Alex & everyone else,

I made the script that Alex was requesting.

-Tony


erichansa writes:

thanks. But I can't install the script. When I click it, it can be downloaded or opened like a txt file. How can I add it in creasemonkey.


aboyd [TypeKey Profile Page] writes:

erichansa,

I'm not sure. If you're using Firefox with the Greasemonkey plugin, then when you click it, it will install correctly. If it's not installing, my only guess is that you're not using Firefox, or you don't have Greasemonkey installed.

If you DO have those installed and it still doesn't work, I can't help you. I don't know why that would happen.

-Tony


Cool fruits ;) i like them


I think this is among the most important information for me.
And i am glad reading your article. But wanna remark on some general
things, The site style is perfect, the articles is really
nice : D. Good job, cheers


Dimat writes:

pfft any of those get my good old and well trusted "SPAM" cemomnt and I pay them not attention at all they are all just stupid I want to see facebook sort out those spammers with a little ip ban on them so they wont get back in and spam again but that would take out a lot of the 800 million members and I think The Zuck wouldnt allow anything like that to take place but I would want them to have better security against this stuff from happening again


Now we know who the sensible one is here. Great post!


We definitely need more smart people like you around.


You got to push it-this essential info that is!


Why do I bother calling up people when I can just read this!


Holy Toledo, so glad I clicked on this site first!


This introduces a pleasingly rational point of view.


At last! Someone with the insight to solve the problem!


This introduces a pleasingly rational point of view.


Well put, sir, well put. I'll certainly make note of that.


share writes:

Articles like these put the consumer in the driver seat-very important.


I was really confused, and this answered all my questions.


Post a comment

Verification (needed to reduce spam):