From 36e3f2a4493d6d6a74ae5c4ab91009f082c89a38 Mon Sep 17 00:00:00 2001 From: gorhill Date: Sat, 20 Feb 2016 07:27:36 -0500 Subject: [PATCH] removed filter-experimenting code (was not meant to be committed) --- assets/checksums.txt | 2 +- assets/ublock/resources.txt | 20 -------------------- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/assets/checksums.txt b/assets/checksums.txt index 02beb6d29..a704d2544 100644 --- a/assets/checksums.txt +++ b/assets/checksums.txt @@ -5,7 +5,7 @@ a82e61479157766afdf4b2bb53e62eaa assets/ublock/filters.txt 146704ad1c0393e342afdb416762c183 assets/ublock/badware.txt 5baa90e2da7cd6a73edff2010557ee57 assets/ublock/redirect.txt 12b0660eebed61255fc67ad185dfd4e8 assets/ublock/experimental.txt -4fdcea3a4c1de893519b8d9d617d73b1 assets/ublock/resources.txt +eb0d2aec6d15f964495c831fa14dfec5 assets/ublock/resources.txt da933e11b965eba2f3928ea6d5d979ce assets/ublock/filter-lists.json 3605c73f21abca428c7eb69a8bc32dfe assets/thirdparties/easylist-downloads.adblockplus.org/easyprivacy.txt a91af77c47c302c0741c7445b0fada1a assets/thirdparties/easylist-downloads.adblockplus.org/easylist.txt diff --git a/assets/ublock/resources.txt b/assets/ublock/resources.txt index 294d7c40e..ea79ec389 100644 --- a/assets/ublock/resources.txt +++ b/assets/ublock/resources.txt @@ -725,23 +725,3 @@ bcplayer-defuser.js application/javascript } }); })(); - - -# Foil attempts at javascript-based redirects -redirect-defuser.js application/javascript -(function() { - var noopfn = function() { - ; - }; - window.location.assign = window.location.replace = noopfn; - var href = window.location.href; - try { - Object.defineProperty(window.location, 'href', { - get: function() { - return href; - }, - set: noopfn - }); - } catch(ex) { - } -})();