How: Google Analytics disabled after "temp. allow http..."?

Ask for help about NoScript, no registration needed to post
guesterwoman

How: Google Analytics disabled after "temp. allow http..."?

Post by guesterwoman »

I wish to keep Google Analytics (GA) disabled even if I choose to "Temporarily allow http://Foo.com" and GA is used by http://Foo.com. So my question is how may I blacklist GA (using default surrogate script/s) on all sites even if the site is whitelisted?

See:
https://adblockplus.org/blog/the-wrong- ... y-concerns
http://hackademix.net/2009/01/25/surrog ... analytics/
https://adblockplus.org/forum/viewtopic ... 886#p27886
http://www.unrest.ca/Net-Neutrality-and ... not-really
http://tools.google.com/dlpage/gaoptout
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16 (.NET CLR 3.5.30729)
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: How: Google Analytics disabled after "temp. allow http..

Post by therube »

I'm probably not understanding, but remove google-analytics.com from your Whitelist or Forbid google-analytics.com.

Doing that regardless of what you Temp Allow google-analytics.com scripts will not run.
(Though the surrogate should work-around sites failing due to google-analytics.com not being allowed.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110416 SeaMonkey/2.0.14
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3369
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: How: Google Analytics disabled after "temp. allow http..

Post by GµårÐïåñ »

If you forbid permanently google analytics, it will remain forbidden on ALL sites. Now there are some sites that have integrated their function (such as clicking buttons, links) with going through the GA script, in which case the surrogates already there (noscript.surrogate.ga.replacement;(function(){var _0=function(){};with(window)urchinTracker=_0,_gaq={__noSuchMethod__:_0,_link:function(h){if(h)location.href=h},_linkByPost:function(){return true},_getLinkerUrl:function(u){return u},_trackEvent:_0},_gat={_getTracker:function(){return _gaq}}})()) will take care of that for you by making its payload inert and allowing function without sending them squat.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/6.9 (en-US; rv:6.9.6.9) Gecko/66666666 Firefox/6.6.6
Post Reply