Added list of available operators

garry-ut99 2024-10-26 18:07:05 +00:00
parent fb03ef9781
commit 8e292fc9a1
1 changed files with 4 additions and 0 deletions

@ -38,6 +38,10 @@ A change from the [commit message](https://github.com/gorhill/uBlock/commit/a71b
## Cosmetic filter operators ## Cosmetic filter operators
### List of available operators
[:has(...)](#subjecthasarg), [:has-text(...)](#subjecthas-textneedle), [:matches-attr(...)](#subjectmatches-attrarg), [:matches-css(...)](#subjectmatches-cssarg), [:matches-css-before(...)](#subjectmatches-css-beforearg), [:matches-css-after(...)](#subjectmatches-css-afterarg), [:matches-media(...)](#subjectmatches-mediaarg), [:matches-path(...)](#subjectmatches-patharg), [:matches-prop(...)](#subjectmatches-proparg), [:min-text-length(n)](#subjectmin-text-lengthn), [:not(...)](#subjectnotarg), [:others(...)](#subjectothers), [:upward(...)](#subjectupwardarg), [:watch-attr(...)](#subjectwatch-attrarg), [:xpath(...)](#subjectxpatharg).
### `subject:has(arg)` ### `subject:has(arg)`
- Description: Select element _subject_ if and only if evaluating _arg_ in the context of _subject_ returns one or more elements. - Description: Select element _subject_ if and only if evaluating _arg_ in the context of _subject_ returns one or more elements.