[mv3] Support custom filters using CSS pseudo-elements

Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/448
This commit is contained in:
Raymond Hill 2025-08-20 10:26:45 -04:00
parent 807d1b6cdb
commit bc4e829427
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -262,6 +262,7 @@ self.ubolOverlay = {
}
return this.proceduralFiltererAPI.qsa(selector);
}
selector = selector.replace(/::[^:]+$/, '');
try {
const elems = node.querySelectorAll(selector);
this.qsa.error = undefined;