Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Google Search Filter

Selected web-sites aren't displayed from Google search result.

This script is a next version of "Google Search Site-block Plus".

This script is supporting AutoPagerize 0.0.12 or later.

The original script(Google Search Site-block) was written by leva.

Released under the CCL by-nc-na ja license.

Screenshots

Filtered result
Filtered result
Link to add the filter
Link to add the filter
Filters editor
Filters editor

History

2008-03-26
  • Fixed XPath for block link.
2007-10-29
  • Fixed XPath for block link.
  • Fixed to check results when AutoPagerize added elements.
2007-10-21
  • Fixed XPath for block link that found YouTube in results.
2007-10-20
  • Supported AutoPagerize 0.0.17.
2007-10-09
  • Fixed toggle enable/disable buttons.
2007-10-08
  • Fixed disable buttons without the need to use.
2007-10-01
  • Added blank to Editor's list(It's not filter).
  • Fixed Editor font to monospace.
2007-09-30
  • Fixed Editor layout.
  • Fixed English language.
  • Released.



Aug 1, 2008
chfaure User

Proposed changes for * support in filter :

// SearchFilter Class :
createRegExp: function(filter){
return new RegExp("^https?:\/\/" + filter.replace(/\./g, "\.").replace(/\*/g,"[^\/]*") + "\/", "i");
},


Proposed modification for firefox 3.0 support and more visible config filter box

// in EditFilter.init method :
var place = document.createElement("div");
document.getElementById("gbar").appendChild(place);
place.style.position = "absolute";
place.style.top = "5px";
place.style.right = "5px";
place.style.margin = "0 auto";
place.style.background = "#00FEFE";
place.innerHTML += "  ";

And at last for french support :

fr: {
config : "Conf. Filtres URL",
add : "Ajouter",
edit : "Editer",
remove : "Effacer",
reset : "RàZ",
mode : "Filtrer le résultat",
ok : "Valider",
cancel : "Annuler",
block : "-Bloquer-",
blocked : "Bloqué !",
addPrefix : "Ajouter '",
addSuffix : "' aux filtres?",
addedPrefix: "'",
addedSuffix: "' est ajouté aux filtres.",
notEdited : "Non édité.",
notFound : "Pas trouvé.",
init : "Voulez vous vraiment réinitialiser vos filtres?",
},

 
Jul 13, 2008
Syockit Scriptwright

To Hatastix:
The filter uses Regexp convention. Please find a reference somewhere online.
For example, to achieve the one you mentioned, just add in this:
".*\.qarchive.org"

To Shinya:
Why block Hatena? You get to learn so many subcultural things from it! Very useful when watching Niconico Video. For example, what does (ry mean? If you check Hatena, you will already know that it means (以下略)!

 
May 18, 2008
Uldor User

Good script. I remember having looked for such an option in Google before. Thank you for creating it.

I suggest adding same support to Google images. I sometimes have pictures from one website cluttering a whole page or two of Google Images (due to my search hitting a keyword in a string of pictures on the webpage). It would be good to block it from coming up.

 
Mar 3, 2008
HatastiX User

Please consider adding wildcard support either

.qarchive.org
or
*.qarchive.org

to block that SPAMming domain and all subdomains

 
Nov 4, 2007
Minion Colle... User

also it would be fantastic if there were an easy way to import some SpamAssassin rules... to eliminate obviously spammy domains composed of mostly letters and such.

there would need to be a way to specify both the domain pattern and some spammy keywords like viagra, lottory, and other ilk. I realize that it a little beyond the scope of this userscript, but would make an interesting addon or entirely new junk filter userscript :D

 
Nov 4, 2007
Minion Colle... User

nifty! now I can more easily banish wiki*ia from my web experience. :D

I hope you will release a similar userscript for web searching with yahoo.com ;) ... and then maybe live.com search too...

thanks!

 
Oct 2, 2007
Shinya Script's author

Please do AutoPagerize to the top of the scripts list on Greasemonkey.

This script doesn't operate on the added filter immediately. It's next time.

 
Oct 1, 2007
wooh Scriptwright

great, i like it!
just a small bug: doesn't filter second page in combination with Autopagerize.

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