This commit is contained in:
gorhill 2015-12-24 09:07:26 -05:00
parent 20e31bb834
commit 66f52b530c
2 changed files with 27 additions and 1 deletions

View File

@ -5,7 +5,7 @@ f7c529ec45cca5b2a584a2597c2e96a3 assets/ublock/filters.txt
146704ad1c0393e342afdb416762c183 assets/ublock/badware.txt
5baa90e2da7cd6a73edff2010557ee57 assets/ublock/redirect.txt
d6f734c851d5077bd545d0fa39e8bb8d assets/ublock/experimental.txt
771999096fecd114ef959c4169e7e3f5 assets/ublock/resources.txt
f5be62339fe301622f09bea4c9c1924b assets/ublock/resources.txt
6c9d89c5dc6db345de36c8c966fff575 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

@ -177,14 +177,40 @@ www.google-analytics.com/ga.js application/javascript
# "visitor behavior"
googletagservices.com/gpt.js application/javascript
(function() {
// https://developers.google.com/doubleclick-gpt/reference
var noopfn = function() {
;
};
//
var slot = {
addService: noopfn,
setCategoryExclusion: noopfn,
setTargeting: noopfn
};
var slotfn = function() {
return slot;
};
//
var pubAdsService = {
addEventListener: noopfn,
clear: noopfn,
enableSyncRendering: noopfn,
refresh: noopfn,
set: noopfn,
setCategoryExclusion: noopfn
};
//
var gpt = window.googletag || {};
gpt._vars_ = gpt._vars_ || {};
gpt.cmd = gpt.cmd || [];
gpt.display = noopfn;
gpt.defineSlot = slotfn;
gpt.defineOutOfPageSlot = slotfn;
gpt.enableServices = noopfn;
gpt.getVersion = gpt.getVersion || noopfn;
gpt.pubads = function() {
return pubAdsService;
};
//
window.googletag = gpt;
})();