From 6e9b085ddce25278108b2e91899c96612cfb65d2 Mon Sep 17 00:00:00 2001 From: gorhill Date: Thu, 31 Dec 2015 19:18:59 -0500 Subject: [PATCH] more work on neutered googletag --- assets/checksums.txt | 2 +- assets/ublock/resources.txt | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/assets/checksums.txt b/assets/checksums.txt index a2fc18c64..3fefbfd14 100644 --- a/assets/checksums.txt +++ b/assets/checksums.txt @@ -5,7 +5,7 @@ 146704ad1c0393e342afdb416762c183 assets/ublock/badware.txt 5baa90e2da7cd6a73edff2010557ee57 assets/ublock/redirect.txt 890e6b30c6a4cfd2ac5aa1bbe36d30fe assets/ublock/experimental.txt -03011d99a00fdf3f47e4daf550b1d171 assets/ublock/resources.txt +879c0fabe1f8929324309c31361172c1 assets/ublock/resources.txt 86c0502f610903b90504a7ad821550a6 assets/ublock/filter-lists.json 50573388b525ede1a920cd4b4ee7fbf0 assets/thirdparties/easylist-downloads.adblockplus.org/easyprivacy.txt 61cc16cf02e034370f0f47bc17c46551 assets/thirdparties/easylist-downloads.adblockplus.org/easylist.txt diff --git a/assets/ublock/resources.txt b/assets/ublock/resources.txt index 5fe2a568f..c369476dc 100644 --- a/assets/ublock/resources.txt +++ b/assets/ublock/resources.txt @@ -205,11 +205,14 @@ googletagservices.com/gpt.js application/javascript var noopfn = function() { ; }; + var noopthisfn = function() { + return this; + }; // var slot = { - addService: noopfn, + addService: noopthisfn, setCategoryExclusion: noopfn, - setTargeting: noopfn + setTargeting: noopthisfn }; var slotfn = function() { return slot; @@ -226,9 +229,7 @@ googletagservices.com/gpt.js application/javascript }; // var smb = { - addSize: function() { - return this; - }, + addSize: noopthisfn, build: noopfn }; //