mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-03 01:29:39 +02:00
further work on www.google-analytics.com/ga.js + new experimental filter list
This commit is contained in:
parent
366fb08a17
commit
93363a27bf
@ -1,10 +1,10 @@
|
||||
9e647d2878ccdca91e933b32083bfe19 assets/ublock/unbreak.txt
|
||||
f1a6a004169c8a1a090ba2591f20cb5b assets/ublock/redirect-resources.txt
|
||||
52a54ec142dfb4284a8de09662e8c44e assets/ublock/redirect-resources.txt
|
||||
6c077d6d5b39e8a5a407966ad62c9c32 assets/ublock/privacy.txt
|
||||
ccbd90cec2231b6c5edf545b63d462ff assets/ublock/filters.txt
|
||||
146704ad1c0393e342afdb416762c183 assets/ublock/badware.txt
|
||||
7793a25fee903eb869984d728cb1920c assets/ublock/redirect.txt
|
||||
a3c5fff7de8a5597491a97e8bb7ce76a assets/ublock/experimental.txt
|
||||
3507b4dfdb15dcf7d86acadfd4647fd5 assets/ublock/experimental.txt
|
||||
e1a6bb625a9ee59cc57f6b77c76108ff assets/ublock/filter-lists.json
|
||||
f549ce62117ff04b63c177227b5cb288 assets/thirdparties/easylist-downloads.adblockplus.org/easyprivacy.txt
|
||||
da709032e6b674de08b7561e3f4e552d assets/thirdparties/easylist-downloads.adblockplus.org/easylist.txt
|
||||
|
18
assets/ublock/experimental.txt
Normal file
18
assets/ublock/experimental.txt
Normal file
@ -0,0 +1,18 @@
|
||||
# uBlock Origin -- Experimental filters.
|
||||
#
|
||||
# These filters are experimental and may cause breakage. They are being
|
||||
# evaluated/fine-tuned for inclusion in the default set of filters.
|
||||
#
|
||||
# The `important` filter option is often used here in order to ensure the
|
||||
# experimental filters are used, i.e. they will override existing exception
|
||||
# filters which might exist to unbreak known web page breakage.
|
||||
|
||||
# googletagservices.com not blocked by EasyPrivacy (I don't know why).
|
||||
# This is a redirection-based filter being developed in order to be able
|
||||
# to safely block `googletagservices.com` everywhere by default.
|
||||
||googletagservices.com/tag/js/gpt.js$script,redirect=googletagservices.com/gpt.js,important
|
||||
|
||||
|
||||
# Replacement for `www.google-analytics.com/ga.js`: the goal is to be able to
|
||||
# block `www.google-analytics.com` while preventing web page breakage.
|
||||
||www.google-analytics.com/ga.js$script,redirect=www.google-analytics.com/ga.js,important
|
@ -102,10 +102,30 @@ www.google-analytics.com/ga.js application/javascript
|
||||
};
|
||||
//
|
||||
var tracker = function() {};
|
||||
tracker._getLinkerUrl = function(a) { return a; };
|
||||
tracker._getLinkerUrl = function(a) {
|
||||
return a;
|
||||
};
|
||||
//
|
||||
var gat = function() {};
|
||||
gat._getTrackerByName = function() { return tracker; };
|
||||
var Gat = function() {
|
||||
;
|
||||
};
|
||||
Gat.prototype._anonymizeIP = noopfn;
|
||||
Gat.prototype._createTracker = noopfn;
|
||||
Gat.prototype._forceSSL = noopfn;
|
||||
Gat.prototype._getPlugin = noopfn;
|
||||
Gat.prototype._getTracker = noopfn;
|
||||
Gat.prototype._getTrackerByName = function() {
|
||||
return tracker;
|
||||
};
|
||||
Gat.prototype._getTrackers = noopfn;
|
||||
Gat.prototype.aa = noopfn;
|
||||
Gat.prototype.ab = noopfn;
|
||||
Gat.prototype.hb = noopfn;
|
||||
Gat.prototype.la = noopfn;
|
||||
Gat.prototype.oa = noopfn;
|
||||
Gat.prototype.pa = noopfn;
|
||||
Gat.prototype.u = noopfn;
|
||||
var gat = new Gat();
|
||||
window._gat = gat;
|
||||
//
|
||||
var gaq = new Gaq();
|
||||
@ -117,7 +137,7 @@ www.google-analytics.com/ga.js application/javascript
|
||||
}
|
||||
}
|
||||
})();
|
||||
window._gaq = gaq;
|
||||
window._gaq = gaq.qf = gaq;
|
||||
})();
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user