Skip to content
mtxadmin edited this page Mar 10, 2024 · 21 revisions


Examples:

All elements after ##.wrapper-content-main > h2 (but not text):
##.wrapper-content-main > h2 ~ *
##.wrapper-content-main > h2 + *


Shadow root issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/803

Matches-css with regexps (from gorhill wiki):
facet.wp.pl##div[class^="_"]:matches-css(background-image: /^url("data:image/png;base64,/)

https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#permissions

||example.com$replace=/bad/good/

Some xpath good examples (for :xpath(arg)):
https://devhints.io/xpath

Clone this wiki locally