Google Filter

By hirak99 Last update Oct 25, 2009 — Installed 2,015 times.

Script Summary: 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.



Version: 2.0 - fixed for new google on 25 Oct, 2009

Thumb Thumb

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 -

var sitesToRemove=[
'^http://www.experts-exchange.com/',
'^http://some.other.site.com/',
'^http://yet.another.site.com/',
];
Note the caret at before (^) the http for each site in the example. This is necessary, as for a regular expression it indicates beginning of the link location. If you are conversant with regular expressions, you can create more complicated filtering patterns too.

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