mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
added missing entries to neutered googletag: was throwing on forbes.com
This commit is contained in:
parent
423438483f
commit
b1686ea491
@ -5,7 +5,7 @@
|
||||
146704ad1c0393e342afdb416762c183 assets/ublock/badware.txt
|
||||
5baa90e2da7cd6a73edff2010557ee57 assets/ublock/redirect.txt
|
||||
890e6b30c6a4cfd2ac5aa1bbe36d30fe assets/ublock/experimental.txt
|
||||
42d03f7f886f8f43a4feb688e15ee7ff assets/ublock/resources.txt
|
||||
fb9c4789e234fe5bfc507812719dce52 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
|
||||
|
@ -204,7 +204,7 @@ googletagservices.com/gpt.js application/javascript
|
||||
// https://developers.google.com/doubleclick-gpt/reference
|
||||
var noopfn = function() {
|
||||
;
|
||||
};
|
||||
}
|
||||
//
|
||||
var slot = {
|
||||
addService: noopfn,
|
||||
@ -215,13 +215,21 @@ googletagservices.com/gpt.js application/javascript
|
||||
return slot;
|
||||
};
|
||||
//
|
||||
var pubAdsService = {
|
||||
var pas = {
|
||||
addEventListener: noopfn,
|
||||
clear: noopfn,
|
||||
enableSyncRendering: noopfn,
|
||||
refresh: noopfn,
|
||||
set: noopfn,
|
||||
setCategoryExclusion: noopfn
|
||||
setCategoryExclusion: noopfn,
|
||||
setTargeting: noopfn
|
||||
};
|
||||
//
|
||||
var smb = {
|
||||
addSize: function() {
|
||||
return this;
|
||||
},
|
||||
build: noopfn
|
||||
};
|
||||
//
|
||||
var gpt = window.googletag || {};
|
||||
@ -233,7 +241,10 @@ googletagservices.com/gpt.js application/javascript
|
||||
gpt.enableServices = noopfn;
|
||||
gpt.getVersion = gpt.getVersion || noopfn;
|
||||
gpt.pubads = function() {
|
||||
return pubAdsService;
|
||||
return pas;
|
||||
};
|
||||
gpt.sizeMapping = function() {
|
||||
return smb;
|
||||
};
|
||||
//
|
||||
window.googletag = gpt;
|
||||
@ -300,8 +311,8 @@ pornhub-popup-defuser.js application/javascript
|
||||
forbes-defuser.js application/javascript
|
||||
(function() {
|
||||
var then = new Date(Date.now() + 60000);
|
||||
var expire = then.toString();
|
||||
document.cookie = 'dailyWelcomeCookie=true; expires=' + expire;
|
||||
document.cookie = 'forbes_ab=false; expires=' + expire;
|
||||
document.cookie = 'global_ad_params={}; expires=' + expire;
|
||||
var expire = '; expires=' + then.toString();
|
||||
document.cookie = 'dailyWelcomeCookie=true' + expire;
|
||||
document.cookie = 'forbes_ab=false' + expire;
|
||||
document.cookie = 'global_ad_params={}' + expire;
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user