1
0
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:
Raymond Hill 2023-02-04 08:21:17 -05:00
parent d7e1da6274
commit ac25b2d6f3
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

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