mirror of https://github.com/gorhill/uBlock.git
Remove advanced setting `ignoreScriptInjectFilters`
This advanced setting is not really needed, as the
same can be accomplished with a broad exception
filter such as `#@#+js()`.
Related feedback:
- f5b453fae3 (commitcomment-49499082)
This commit is contained in:
parent
83c4dc3bac
commit
bc8c1d00ad
|
@ -63,7 +63,6 @@ const µBlock = (( ) => { // jshint ignore:line
|
|||
extensionUpdateForceReload: false,
|
||||
filterAuthorMode: false,
|
||||
filterOnHeaders: false,
|
||||
ignoreScriptInjectFilters: false,
|
||||
loggerPopupType: 'popup',
|
||||
manualUpdateAssetFetchPeriod: 500,
|
||||
popupFontSize: 'unset',
|
||||
|
|
|
@ -302,7 +302,6 @@
|
|||
|
||||
api.retrieve = function(request) {
|
||||
if ( scriptletDB.size === 0 ) { return; }
|
||||
if ( µb.hiddenSettings.ignoreScriptInjectFilters ) { return; }
|
||||
|
||||
const reng = µb.redirectEngine;
|
||||
if ( !reng ) { return; }
|
||||
|
|
|
@ -180,12 +180,11 @@
|
|||
if ( iHn !== undefined ) {
|
||||
do {
|
||||
const strId = this.hostnameSlots[iHn+0];
|
||||
if ( this.strSlots[strId >>> this.nBits] === value ) {
|
||||
if ( (strId & exceptionBit) !== 0 ) {
|
||||
return false;
|
||||
}
|
||||
found = true;
|
||||
const str = this.strSlots[strId >>> this.nBits];
|
||||
if ( (strId & exceptionBit) !== 0 ) {
|
||||
if ( str === value || str === '' ) { return false; }
|
||||
}
|
||||
if ( str === value ) { found = true; }
|
||||
iHn = this.hostnameSlots[iHn+1];
|
||||
} while ( iHn !== 0 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue