mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01:00
Fix regression of exception procedural cosmetic filters
Related feedback/commit:
- bc19a93815 (commitcomment-99271464)
This commit is contained in:
parent
d7e1da6274
commit
ac25b2d6f3
@ -860,6 +860,11 @@ FilterContainer.prototype.retrieveSpecificSelectors = function(
|
||||
if ( proceduralSet.size !== 0 ) {
|
||||
for ( const json of proceduralSet ) {
|
||||
const pfilter = JSON.parse(json);
|
||||
if ( exceptionSet.has(json) ) {
|
||||
proceduralSet.delete(json);
|
||||
out.exceptedFilters.push(json);
|
||||
continue;
|
||||
}
|
||||
if ( exceptionSet.has(pfilter.raw) ) {
|
||||
proceduralSet.delete(json);
|
||||
out.exceptedFilters.push(pfilter.raw);
|
||||
|
Loading…
Reference in New Issue
Block a user