disconnectme / disconnect

Disconnect is a browser extension that makes the web faster, more private, and more secure.
https://disconnect.me/
GNU General Public License v3.0
777 stars 137 forks source link

Disconnect collides with a certain uBlock filter list #356

Open LennartRoeder opened 8 years ago

LennartRoeder commented 8 years ago

The Filter list "uBlock filters – Privacy" collides with the Disconnect Chrome Extension on the page https://www.dict.cc/ . The error is displayed by disconnect. Disabling the filter solves the error. I do not know if the error occurs on more pages.

error message: Warning: This extension failed to redirect a network request to about:blank because another extension (uBlock Origin) redirected it to data:application/javascript;base64,KGZ1bmN0aW9uKCkgewoJLy8gaHR0...[very long ID]...=.

Link to the issue on uBlock: https://github.com/gorhill/uBlock/issues/1236

sucrose commented 6 years ago

The base64 decodes to: (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(); } })();

Not sure if that helps the situation at all.