diff --git a/js/abp-filters.js b/js/abp-filters.js index 79cdbc81d..582243b63 100644 --- a/js/abp-filters.js +++ b/js/abp-filters.js @@ -850,7 +850,8 @@ FilterParser.prototype.parseOptType = function(raw, not) { if ( k === type ) { continue; } // https://github.com/gorhill/uBlock/issues/121 // `popup` is a special type, it cannot be set for filters intended - // for real net request types + // for real net request types. The test is safe since there is no + // such thing as a filter using `~popup`. if ( k === 'popup' ) { continue; } this.types.push(typeNameToTypeValue[k]); }