Skip to content

brave-experiments/procedural-filters-js

Folders and files

NameName
Last commit message
Last commit date
Jul 30, 2024
Aug 1, 2024
Aug 1, 2024
Jul 30, 2024
Jul 30, 2024
Jul 30, 2024
Jul 30, 2024
Jul 30, 2024
Aug 1, 2024
Jul 30, 2024
Jul 16, 2024
Jul 4, 2024
Jun 17, 2024
Jul 4, 2024

Repository files navigation

procedural-filters-js

This repo contains JavaScript code used by Brave for procedural filtering (see brave/brave-core#24688).

More information about procedural filtering can be found on the uBlock Origin wiki.

Testing

You can test this code in two ways:

  1. Run npm run serve and then visit the server on http://localhost:8080. On every test page, you can run testResult() in the dev console to confirm that elements are hidden or shown correctly.
  2. Run npm run test for automatic tests powered by Playwright.