
So If anyone else is interested in blocking Google Analytics completely without causing some sites to not work properly, simply add the filter
- Code: Select all
||google-analytics.com^$third-party
and a Greasemonkey UserScript like this
- Code: Select all
// ==UserScript==
// @name Google Analytics fix
// @namespace https://adblockplus.org/forum/viewtopic.php?t=4160
// @include *
// ==/UserScript==
window.setTimeout("window.urchinTracker = function(){};", 0);
window.setTimeout("var _gat = {tracker: {_trackPageview: function(){}}, _getTracker: function() {return this.tracker;}}", 0);