mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
at this point I believe neutered google-analytics.com/analytics.js will help reduce page breakage
This commit is contained in:
parent
7fbde83a28
commit
2ca410452e
4 changed files with 10 additions and 7 deletions
|
@ -1,11 +1,11 @@
|
|||
6d87871552a4bc4978b1769e9a00d497 assets/ublock/unbreak.txt
|
||||
62111a29f0a5cb361ba8dbae92054adb assets/ublock/redirect-resources.txt
|
||||
6c077d6d5b39e8a5a407966ad62c9c32 assets/ublock/privacy.txt
|
||||
50d9d18cbfdf16bf6acf04e4709744d1 assets/ublock/privacy.txt
|
||||
14365aa342714d080fc656e214e12ee6 assets/ublock/filters.txt
|
||||
146704ad1c0393e342afdb416762c183 assets/ublock/badware.txt
|
||||
5baa90e2da7cd6a73edff2010557ee57 assets/ublock/redirect.txt
|
||||
890e6b30c6a4cfd2ac5aa1bbe36d30fe assets/ublock/experimental.txt
|
||||
40acd039d46d8e9dea7f63fd257d93bd assets/ublock/resources.txt
|
||||
f9bb491dbba453752199e8378ee152bb assets/ublock/experimental.txt
|
||||
78719af60a1519989462fd360a1946cb assets/ublock/resources.txt
|
||||
9426bdf06d69f8d7493306ed135f6819 assets/ublock/filter-lists.json
|
||||
50573388b525ede1a920cd4b4ee7fbf0 assets/thirdparties/easylist-downloads.adblockplus.org/easyprivacy.txt
|
||||
61cc16cf02e034370f0f47bc17c46551 assets/thirdparties/easylist-downloads.adblockplus.org/easylist.txt
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
# The goal is to be able to block `www.google-analytics.com` while preventing
|
||||
# web page breakage.
|
||||
# Replacement for `www.google-analytics.com/ga.js`
|
||||
||www.google-analytics.com/ga.js$script,redirect=www.google-analytics.com/ga.js,important
|
||||
||google-analytics.com/ga.js$script,redirect=google-analytics.com/ga.js,important
|
||||
|
||||
# Replacement for `www.google-analytics.com/analytics.js`
|
||||
||www.google-analytics.com/analytics.js$script,redirect=www.google-analytics.com/analytics.js,important
|
||||
||google-analytics.com/analytics.js$script,redirect=google-analytics.com/analytics.js,important
|
||||
|
|
|
@ -43,3 +43,6 @@
|
|||
# - Whether a blocker is used
|
||||
# - Screen size/browser viewport size
|
||||
||adblockanalytics.com^$third-party
|
||||
|
||||
# Redirect to neutered Google Analytics
|
||||
||google-analytics.com/analytics.js$script,redirect=google-analytics.com/analytics.js
|
||||
|
|
|
@ -110,7 +110,7 @@ antiAdBlock.js application/javascript
|
|||
# Test cases (need way more):
|
||||
# - https://github.com/chrisaljoudi/uBlock/issues/119
|
||||
|
||||
www.google-analytics.com/ga.js application/javascript
|
||||
google-analytics.com/ga.js application/javascript
|
||||
(function() {
|
||||
var noopfn = function() {
|
||||
;
|
||||
|
@ -179,7 +179,7 @@ www.google-analytics.com/ga.js application/javascript
|
|||
window._gaq = gaq.qf = gaq;
|
||||
})();
|
||||
|
||||
www.google-analytics.com/analytics.js application/javascript
|
||||
google-analytics.com/analytics.js application/javascript
|
||||
(function() {
|
||||
// https://developers.google.com/analytics/devguides/collection/analyticsjs/
|
||||
var noopfn = function() {
|
||||
|
|
Loading…
Reference in a new issue