Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Google analytics integrated in to Chrome.
chrome-extension://cjpalhdlnbpafiamejdnhcphjbkeiagm/web_accessible_resources/59fb24a2d12455d15bea20980e8a6801.javascript?secret=lef6ooqidsb6
(function() { // https://developers.google.com/analytics/devguides/collection/analyticsjs/ var noopfn = function() { ; }; var noopnullfn = function() { return null; }; // var Tracker = function() { ; }; var p = Tracker.prototype; p.get = noopfn; p.set = noopfn; p.send = noopfn; // var w = window, gaName = w.GoogleAnalyticsObject || 'ga'; var ga = function() { var len = arguments.length; if ( len === 0 ) { return; } var f = arguments[len-1]; if ( typeof f !== 'object' || f === null || typeof f.hitCallback !== 'function' ) { return; } try { f.hitCallback(); } catch (ex) { } }; ga.create = function() { return new Tracker(); }; ga.getByName = noopnullfn; ga.getAll = function() { return []; }; ga.remove = noopfn; w[gaName] = ga; // https://github.com/gorhill/uBlock/issues/3075 var dl = w.dataLayer; if ( dl instanceof Object && dl.hide instanceof Object && typeof dl.hide.end === 'function' ) { dl.hide.end(); } })();
There are no comments on this comment yet.
chrome-extension://cjpalhdlnbpafiamejdnhcphjbkeiagm/web_accessible_resources/59fb24a2d12455d15bea20980e8a6801.javascript?secret=lef6ooqidsb6
That is uBlock Origin intercepting the request and responding with a no-op version of analytics.js