Luke Hagan

Spam filter your Google searches

Tired of useless links at the top of your search results? Try this Safari Extension.

I don’t know about you, but I’m finding the spam to content ratio on my Google searches tipping a bit too far in favor of spam lately. You know what I’m talking about: websites filled with vague and useless “content,” answers from people who have no idea what they’re talking about, technical solutions that require a paid subscription to view, etc.

But what can an Internet enthusiast do? I’ve tried other search engines, but I just don’t find the results as relevant as Google’s.

Well, I finally decided to do something about it. I figured that someone must have already put together a Safari Extension or something to filter Google results based on a domain blacklist, but I couldn’t find anything[^1]. So, I started with a userscript by JRice and made my own.

The end result is pretty simple. I call it SearchExclude. It only works on Google right now and you can’t add or remove sites from the blacklist[^2]. All SearchExclude does is hide offending search results from you, so it’s possible that if you enter a particularly spam-ridden query you’ll get a page with no results[^3].

Here’s the current blacklist:

  • Yahoo! Answers
  • eHow (.com &
  • Experts Exchange
  • Google+ People and Pages box

Update 1/11/2012: SearchExclude now hides that annoying Google+ People and Pages box that just showed up on the right hand side of some Google search results.


Want to give it a try? Just download the extension or clone the GitHub repository.

[^1]: Let me know if you found something!

[^2]: I hope to include a user-configurable blacklist at some point. The code’s up on GitHub, so if you’re so inclined (and have a Safari developer’s certificate), you can always add your own by modifying the source.

[^3]: This is really, really unlikely though.