.google-analytics.com/

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList

Postby tmr250z » Mon Jul 06, 2009 12:26 am

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?
tmr250z
 

Postby Ares2 » Mon Jul 06, 2009 12:37 am

Yep. :)
Ares2
 
Posts: 1275
Joined: Fri Feb 15, 2008 1:47 pm

Postby tmr250z » Tue Jul 07, 2009 3:26 am

Ares2 wrote:Yep. :)


Thanks :D
tmr250z
 
Posts: 3
Joined: Mon Jul 06, 2009 12:30 am

Re: .google-analytics.com/

Postby Guest » Mon Jul 29, 2013 5:55 pm

se224141 wrote:I notice .google-analytics.com/ doesn't figure in Easylist.

http://www.google-analytics.com/urchin.js is not blocked at http://www.yogameditation.com/.

http://www.google-analytics.com/ga.js is not blocked at http://www.economist.com/.

Any specific reason.
Guest
 

Re: .google-analytics.com/

Postby Anomymous » Mon Jul 29, 2013 9:25 pm

"@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(){};
Anomymous
 

Re: .google-analytics.com/

Postby Boris » Mon Jul 29, 2013 11:07 pm

Guest wrote:
se224141 wrote:I notice .google-analytics.com/ doesn't figure in Easylist.

http://www.google-analytics.com/urchin.js is not blocked at http://www.yogameditation.com/.

http://www.google-analytics.com/ga.js is not blocked at http://www.economist.com/.

Any specific reason.


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.
Boris
 

Re: .google-analytics.com/

Postby fanboy » Tue Jul 30, 2013 10:42 am

Boris wrote: Downside, it gets updated maybe once a month.


Well, updated when theres a bug.. no new major additions.
User avatar
fanboy
 
Posts: 3446
Joined: Sun Jun 17, 2007 4:45 am

Previous

Return to Filters for Adblock Plus

Who is online

Users browsing this forum: No registered users and 6 guests