mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Fix regression of exception procedural cosmetic filters
Related feedback/commit:
- bc19a93815 (commitcomment-99271464)
This commit is contained in:
parent
d7e1da6274
commit
ac25b2d6f3
1 changed files with 5 additions and 0 deletions
|
|
@ -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 a new issue