From fa8eb71e8ae4a6bb698b0b77bb5b05e8a6e3e2ee Mon Sep 17 00:00:00 2001 From: gorhill Date: Thu, 7 Jan 2016 20:29:01 -0500 Subject: [PATCH] this fixes #733 --- assets/checksums.txt | 4 ++-- assets/ublock/filters.txt | 2 +- assets/ublock/resources.txt | 11 +++++++++++ 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/assets/checksums.txt b/assets/checksums.txt index b7dc5d02e..069a8a5be 100644 --- a/assets/checksums.txt +++ b/assets/checksums.txt @@ -1,11 +1,11 @@ 5f819273fd208f11accc10dad0fa2341 assets/ublock/unbreak.txt 62111a29f0a5cb361ba8dbae92054adb assets/ublock/redirect-resources.txt 50d9d18cbfdf16bf6acf04e4709744d1 assets/ublock/privacy.txt -e7b34560ed989c4f07bad7f863a9d426 assets/ublock/filters.txt +fea758aa26743243301cdd5755aa8340 assets/ublock/filters.txt 146704ad1c0393e342afdb416762c183 assets/ublock/badware.txt 5baa90e2da7cd6a73edff2010557ee57 assets/ublock/redirect.txt f9bb491dbba453752199e8378ee152bb assets/ublock/experimental.txt -0346c0f4b35b3da0386347947d19be7c assets/ublock/resources.txt +0ee9e13366618a4ac3939f9092b4c87c assets/ublock/resources.txt fe4e995a7a828da38fcb0188c3996dbc 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/filters.txt b/assets/ublock/filters.txt index 5dd942a02..b2cb009f7 100644 --- a/assets/ublock/filters.txt +++ b/assets/ublock/filters.txt @@ -151,7 +151,7 @@ jeu.info###page [class^="banniere-"] arstechnica.com###lg-pushdown # This prevents spurious redirection, but breaks comments -||washingtonpost.com/*/identity-management/$script,first-party +washingtonpost.com##script:inject(wpredirect-defuser.js) # https://adblockplus.org/forum/viewtopic.php?f=2&t=26700&start=120#p141228 ||www.valuewalk.com/wp-content/plugins/adblade-publisher-tools$script,first-party diff --git a/assets/ublock/resources.txt b/assets/ublock/resources.txt index d59341515..a88ade119 100644 --- a/assets/ublock/resources.txt +++ b/assets/ublock/resources.txt @@ -439,3 +439,14 @@ impspcabe-defuser.js application/javascript (function(){ window._impspcabe = false; })(); + + +# https://github.com/gorhill/uBlock/issues/733 +wpredirect-defuser.js application/javascript +(function() { + var twp = window.TWP = window.TWP || {}; + twp.Identity = twp.Identity || {}; + Object.defineProperty(twp.Identity, 'initComplete', { + get: function() { return true; } + }); +})();