Skip to content

Commit

Permalink
Support CSS selectors mixed w/ operators in procedural cosmetic filters.
Browse files Browse the repository at this point in the history
Related issue:
gorhill/uBlock #3683

This commit further increases uBO's procedural cosmetic filters
Adguard's cosmetic filter syntax -- specifically those procedural
cosmetic filters where plain CSS selectors appeared following
a procedural operator (this was rejected as invalid by uBO).

Also, experimental support for `:watch-attrs` procedural
operator, as discussed in <uBlockOrigin/uBlock-issues#341 (comment)>.
Support may be dropped before next release depending on whether
a better solution is suggested.

Additionally, the usual opportunistic refactoring toward ES6
syntax.

Co-authored-by:  gorhill <585534+gorhill@users.noreply.github.com>
  • Loading branch information
hawkeye116477 and gorhill committed Jun 29, 2020
1 parent 5306672 commit 3bc0964
Show file tree
Hide file tree
Showing 2 changed files with 261 additions and 204 deletions.
Loading

0 comments on commit 3bc0964

Please sign in to comment.