- Build system: update rollup plugins (@chrmod)
- Krzysztof Modras (@chrmod)
- Build(deps-dev): Bump jsdom from 23.2.0 to 24.0.0 #3728 (@dependabot[bot])
- Build(deps-dev): Bump jsdom from 22.1.0 to 23.0.1 #3633 (@dependabot[bot])
- Update local assets #3472 (ghostery-adblocker-bot@users.noreply.github.com @remusao @ghostery-adblocker-bot[bot])
- Replace tslint with eslint #3450 (@chrmod)
- @ghostery-adblocker-bot[bot]
- Ghostery Adblocker Bot (ghostery-adblocker-bot@users.noreply.github.com)
- Krzysztof Modras (@chrmod)
- Rémi (@remusao)
- Build(deps-dev): Bump typescript from 4.9.5 to 5.0.4 #3180 (@dependabot[bot])
- Build(deps-dev): Bump @types/jsdom from 20.0.1 to 21.1.0 #3086 (@dependabot[bot])
- Build(deps-dev): Bump jsdom from 20.0.3 to 21.0.0 #3005 (@dependabot[bot])
- Build(deps-dev): Bump rimraf from 3.0.2 to 4.0.7 #3018 (@dependabot[bot])
- Build(deps-dev): Bump @types/mocha from 9.1.1 to 10.0.0 #2843 (@dependabot[bot])
- @dependabot[bot]
- Rémi (@remusao)
- Build(deps-dev): Bump jsdom and @types/jsdom #2766 (@dependabot[bot])
- Build(deps-dev): Bump @types/node from 17.0.41 to 18.0.0 #2664 (@dependabot[bot])
- Build(deps-dev): Bump mocha from 9.2.2 to 10.0.0 #2582 (@dependabot[bot])
- Bump @types/node from 16.11.10 to 17.0.8 #2350 (@dependabot[bot])
- Bump jsdom from 18.1.1 to 19.0.0 #2356 (@dependabot[bot])
- Bump jsdom from 17.0.0 to 18.0.0 #2267 (@dependabot[bot])
- Bump @types/node from 15.6.1 to 16.9.6 #2235 (@dependabot[bot])
- @dependabot[bot]
- Rémi (@remusao)
- Bump jsdom from 16.7.0 to 17.0.0 #2175 (@dependabot[bot])
- Bump @types/mocha from 8.2.3 to 9.0.0 #2062 (@dependabot[bot])
- Bump mocha from 8.4.0 to 9.0.0 #1989 (@dependabot[bot])
- Rémi (@remusao)
- build(deps-dev): bump @types/node from 14.14.41 to 15.0.0 (@dependabot-preview[bot])
- build(deps-dev): bump auto from 10.25.1 to 10.25.2 #1892 (@dependabot-preview[bot])
- build(deps): bump tldts-experimental from 5.7.29 to 5.7.30 #1889 (@dependabot-preview[bot])
- build(deps-dev): bump @types/node from 14.14.41 to 15.0.0 #1888 (@dependabot-preview[bot])
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)