Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 648 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 648 Bytes

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.