Page 2 of 2
Posted: Mon Jul 06, 2009 12:26 am
by tmr250z
Ares2 wrote:Yep, still freezes. But this site doesn't use the standard GA code (there is an additional script with .pageTracker), so it's just a problem with this specific site.
Yeah, so I'm just going to add an exception for typeracer.com in the filter and the userscript.
Code: Select all
.google-analytics.com/$domain=~typeracer.com
Code: Select all
// ==UserScript==
// @name Google Analytics fix
// @namespace http://adblockplus.org/forum/viewtopic.php?t=4160
// @include *
// @exclude http://typeracer.com/*
// @exclude http://*.typeracer.com/*
// ==/UserScript==
window.setTimeout("window.urchinTracker = function(){};", 0);
window.setTimeout("var _gat = {tracker: {_trackPageview: function(){}}, _getTracker: function() {return this.tracker;}}", 0);
That will work right?
Posted: Mon Jul 06, 2009 12:37 am
by Ares2
Yep.
Posted: Tue Jul 07, 2009 3:26 am
by tmr250z
Ares2 wrote:Yep.
Thanks
Re: .google-analytics.com/
Posted: Mon Jul 29, 2013 5:55 pm
by Guest
Re: .google-analytics.com/
Posted: Mon Jul 29, 2013 9:25 pm
by Anomymous
"
@grant none" runs the whole script in the window context without using unsafeWindow or GM APIs.
Code: Select all
// ==UserScript==
// @name Google Analytics fix
// @namespace http://aaa.aaa.aa/
// @include *
// @grant none
// ==/UserScript==
urchinTracker = function(){};
pageTracker = function(){};
Re: .google-analytics.com/
Posted: Mon Jul 29, 2013 11:07 pm
by Boris
It needs a lot of exceptions as few other tracking scripts and especially on shopping and gaming websites. You have to download Fanboy's "Advanced tracking List" filter. It blocks GA and other tracking scripts not included in Easylist. Downside, it gets updated maybe once a month.
Re: .google-analytics.com/
Posted: Tue Jul 30, 2013 10:42 am
by fanboy
Boris wrote: Downside, it gets updated maybe once a month.
Well, updated when theres a bug.. no new major additions.