5 ms·
I'm using Ghostery to block the load of the Javascript, and I imagine a few other HN readers do too. It's strange that they never considered that the GA trackin
by nwh 14y ago
I'm using Ghostery to block the load of the Javascript, and I imagine a few other HN readers do too. It's strange that they never considered that the GA tracking events might fail.
- newishuser 14y agoI'm using Ghostery, It's blocking GA, the site works fine.
- sp332 14y agoI'm using RequestPolicy to block that domain, but the site works fine for me.
- shabble 14y agoRecent versions of Ghostery (and NoScript) both provide 'surrogate scripts' to replace common JS resources that are expected to work by the active page. You can see the noscript[1] ones at about:config (search for noscript.surrogate.*) but I'm not sure where the Ghostery ones live, or if it has specific ones for different trackers, or just a generic handler. [1] GA replacement code appears to be (reformatted): ( function(){ var _0 = function(){ return _0; }; _0.__noSuchMethod__=_0; with (window) urchinTracker=_0, _gaq={ __noSuchMethod__: _0, push:function(f){ if(typeof f=='function') f() }, _link:function(h){ if(h) location.href=h }, _linkByPost:function(){ return true }, _getLinkerUrl:function(u){ return u }, _trackEvent:_0 }, _gat={ __noSuchMethod__:function(){ return _gaq } } } )()