forbes.com: this appears to work better

This commit is contained in:
gorhill 2016-01-01 10:30:36 -05:00
parent 6e9b085ddc
commit fd860eba53
2 changed files with 18 additions and 7 deletions

View file

@ -5,7 +5,7 @@
146704ad1c0393e342afdb416762c183 assets/ublock/badware.txt
5baa90e2da7cd6a73edff2010557ee57 assets/ublock/redirect.txt
890e6b30c6a4cfd2ac5aa1bbe36d30fe assets/ublock/experimental.txt
879c0fabe1f8929324309c31361172c1 assets/ublock/resources.txt
3526c55a8ed12ccb48c8c6f8daa867cd 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

@ -221,11 +221,13 @@ googletagservices.com/gpt.js application/javascript
var pas = {
addEventListener: noopfn,
clear: noopfn,
definePassback: noopthisfn,
display: noopfn,
enableSyncRendering: noopfn,
refresh: noopfn,
set: noopfn,
setCategoryExclusion: noopfn,
setTargeting: noopfn
setTargeting: noopthisfn
};
//
var smb = {
@ -311,9 +313,18 @@ pornhub-popup-defuser.js application/javascript
# https://news.ycombinator.com/item?id=10814913
forbes-defuser.js application/javascript
(function() {
var then = new Date(Date.now() + 60000);
var expire = '; expires=' + then.toString();
document.cookie = 'dailyWelcomeCookie=true' + expire;
document.cookie = 'forbes_ab=false' + expire;
document.cookie = 'global_ad_params={}' + expire;
if ( typeof window.fbs_settings === 'object' ) {
window.fbs_settings.classes = 'W10=';
window.fbs_settings.mobile = 'true';
return;
}
Object.defineProperty(window, 'fbs_settings', {
value: {
classes: 'W10=',
data: {
title: ''
},
mobile: 'true'
}
});
})();