From f5b453fae3c77363367cdf9494e90fe276042a72 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Tue, 13 Apr 2021 08:49:10 -0400 Subject: [PATCH] Remove advanced setting `ignoreScriptInjectFilters` Ever since the `redirect` code was refactored: https://github.com/gorhill/uBlock/commit/157cef6034a8ec926c1e59c7e77f0a1fcbef473c This advanced setting is no longer needed, as the same can be accomplished with a plain network filter: @@*$redirect-rule --- src/js/background.js | 1 - src/js/pagestore.js | 1 - 2 files changed, 2 deletions(-) diff --git a/src/js/background.js b/src/js/background.js index 06710d417..5b489da75 100644 --- a/src/js/background.js +++ b/src/js/background.js @@ -63,7 +63,6 @@ const µBlock = (( ) => { // jshint ignore:line extensionUpdateForceReload: false, filterAuthorMode: false, filterOnHeaders: false, - ignoreRedirectFilters: false, ignoreScriptInjectFilters: false, loggerPopupType: 'popup', manualUpdateAssetFetchPeriod: 500, diff --git a/src/js/pagestore.js b/src/js/pagestore.js index 0bd8a952b..57b899bec 100644 --- a/src/js/pagestore.js +++ b/src/js/pagestore.js @@ -821,7 +821,6 @@ const PageStore = class { } redirectBlockedRequest(fctxt) { - if ( µb.hiddenSettings.ignoreRedirectFilters === true ) { return; } const directives = µb.staticNetFilteringEngine.redirectRequest(fctxt); if ( directives === undefined ) { return; } if ( µb.logger.enabled !== true ) { return; }