more work on neutered googletag

This commit is contained in:
gorhill 2015-12-31 19:18:59 -05:00
parent c880ece470
commit 6e9b085ddc
2 changed files with 7 additions and 6 deletions

View file

@ -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

View file

@ -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
};
//