Greasemonkey script to remove unwanted results from Google
For myself, for future reference:
[sourcecode lang="js"]
// ==UserScript==
// @name Expert blocker
// @namespace my
// @description Eliminate Experts Exchange results from Google searches.
// @include http://*.google.com/search?*
// @include http://*.google.co.uk/search?*
// ==/UserScript==
var results = document.getElementsByTagName("a");
for ( var i=0; i<results.length; i++ ) {
if (
results[i].href.indexOf("http:/ /www.experts-exchange.com") == 0
|| results[i].href.indexOf("http:/ /swik.net") == 0 ) {
results[i].parentNode.parentNode.style.display = "none";
}
}
[/sourcecode]
Before using, in the URLs replace http:/ / with http://.
January 11th, 2010 at 4:14 pm
Sweet simple working script mate ! thanks !