Remove advanced setting `ignoreScriptInjectFilters`

Ever since the `redirect` code was refactored:

157cef6034

This advanced setting is no longer needed, as the same
can be accomplished with a plain network filter:

    @@*$redirect-rule
This commit is contained in:
Raymond Hill 2021-04-13 08:49:10 -04:00
parent d7c2e38f00
commit f5b453fae3
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with 0 additions and 2 deletions

View File

@ -63,7 +63,6 @@ const µBlock = (( ) => { // jshint ignore:line
extensionUpdateForceReload: false,
filterAuthorMode: false,
filterOnHeaders: false,
ignoreRedirectFilters: false,
ignoreScriptInjectFilters: false,
loggerPopupType: 'popup',
manualUpdateAssetFetchPeriod: 500,

View File

@ -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; }