// ==UserScript==
// @name           Blackspot Google
// @namespace      http://www.adbusters.org/blogs/blackspot_blog/unclick_google.html
// @description    Automatically clicks on Google ads as protest against privacy violations  -- based on Prefetch Google Ads by Alf at http://hublog.hubmed.org
// @include        http://*
// ==/UserScript==

(function() {  window.addEventListener("load", function(e) {    var l = document.getElementsByTagName('a');
    for (i = 0; i < l.length; i++){
	var link = l[i].href;	
	if (link.match(/aclk\?/i)){
	    GM_xmlhttpRequest({
		method:"GET",
		url:link,
		headers: {'Referer': document.location},
		onload:function(result) {
		}
	    });
	}
    }  }, false);})();


