- Rémi (@remusao)
- Bump @types/mocha from 8.2.3 to 9.0.0 #2062 (@dependabot[bot])
- Fix to executing promises in adblocker-playwright #2006 (@tommulkins)
- Bump mocha from 8.4.0 to 9.0.0 #1989 (@dependabot[bot])
- @dependabot[bot]
- Tom Mulkins (@tommulkins)
- Rémi (@remusao)
- Rémi (@remusao)
Initial support for extended CSS selectors (a.k.a. procedural filters) (#1574)
Add initial support for extended CSS selectors (a.k.a. procedural filters) as well as the :remove()
modifier for element hiding rules (note: the already supported :style
modified now also works with extended CSS selectors). The following new pseudo-classes are implemented: :has
(and its alias :if
), :has-text
(both string and RegExp literals), and :not
(whenever its argument is also an extended selector, otherwise fallback to native implementation).
Caveats:
- Loading of extended css filters is disabled by default and needs to be toggled using the
loadExtendedSelectors
option while initializing the blocker instance. - These news selectors are currently only supported by
WebExtensionBlocker
(support for Puppeteer, Electron and Playwright is not planned at this time but help from the community would be greatly appreciated).
Miscellaneous changes:
- Removal of unused
injectCSSRule
helper. - Replace Closure compiler by Terser.
- Rémi (@remusao)
- Rémi (@remusao)
- Rémi (@remusao)
- build(deps-dev): bump typescript from 3.9.7 to 4.0.2 (@dependabot-preview[bot])
- build(deps-dev): bump typescript from 3.9.7 to 4.0.2 #1202 (@dependabot-preview[bot])
- build(deps-dev): bump @types/mocha from 7.0.2 to 8.0.0 (@dependabot-preview[bot])
- build(deps-dev): bump @types/mocha from 7.0.2 to 8.0.0 #1079 (@dependabot-preview[bot])
- build(deps-dev): bump mocha from 7.2.0 to 8.0.1 (@dependabot-preview[bot])
- build(deps-dev): bump mocha from 7.2.0 to 8.0.1 #986 (@dependabot-preview[bot])
- Rémi (@remusao)