Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Support CSS selectors mixed w/ operators in procedural cosmetic filters.
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
Showing
with
261 additions
and 204 deletions.
- +221 −186 src/js/contentscript.js
- +40 −18 src/js/static-ext-filtering.js
There are no files selected for viewing
Oops, something went wrong.