Google Filter

Last update on Jan 1, 2008

Filters out search entries from specific sites from Google while providing a notice which can be clicked to toggle hidden sites. By default it only filters Experts Exchange, but you can add more sites easily.

This script can filter out any number of sites from Google search. Initially though, it filters only one site: http://www.experts-exchange.com/. Also if it removes any site, it will add a line notifying you, on which you can click to hide/show the removed sites.

I wrote this script for the sole purpose of removing expertsexchange (yes, they could not choose any better name) from my searches. I'm fed up with Experts Exchange showing up on the Google front page. They trick Google by hiding the registration page from Google bot, but when you and I go there we will see 'Register to view the answer'. In my opinion it is an extremely dishonest and unethical way to conduct business. Probably Google will take care of this matter, but until it does so, here's a script you can use.

To add more sites to block:
Edit the script and add sites like this near the beginning of the script -
sitesToRemove[0]='http://www.experts-exchange.com/';
sitesToRemove[1]='http://some.other.site.com/';
sitesToRemove[2]='http://yet.another.site.com/';
...

You can check if the script is working by searching for the blocked sites in Google.




You could comment on this script if you were logged in.

5 comments Feed-icon

1 point
login to vote
Pistol user
Posted 2 days ago

I second that overkill! Please post your edits!

1 point
login to vote
jiaminn212 user
Posted Sep 12, 2008

hey overkill, could you upload your fixed script somewhere so we can download it?
(for us who don't know how to edit scripts.)

also, is there a way to set remove sites like '*.about.com/*' ?

1 point
login to vote
Overkill scriptwright
Posted Sep 4, 2008

Looks like it doesn't work anymore. I did a quick edit of the code though and now it seems to be working. Basically, instead of scanning DIVs, you should be scanning LIs now. And I changed it to use XPATH and made it more jslint friendly.

1 point
login to vote
clintxs scriptwright
Posted Aug 13, 2008

Thank you! Was going to code something like this for myself, but this works very nicely, and saves me a bit of time. Thanks again.

1 point
login to vote
HaleFx user
Posted Jun 8, 2008

Thank you, this is exactly what I needed!

You could comment on this script if you were logged in.