mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
[mv3] Support custom filters using CSS pseudo-elements
Related issue: https://github.com/uBlockOrigin/uBOL-home/issues/448
This commit is contained in:
parent
807d1b6cdb
commit
bc4e829427
1 changed files with 1 additions and 0 deletions
|
|
@ -262,6 +262,7 @@ self.ubolOverlay = {
|
|||
}
|
||||
return this.proceduralFiltererAPI.qsa(selector);
|
||||
}
|
||||
selector = selector.replace(/::[^:]+$/, '');
|
||||
try {
|
||||
const elems = node.querySelectorAll(selector);
|
||||
this.qsa.error = undefined;
|
||||
|
|
|
|||
Loading…
Reference in a new issue