Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seia-soto/adblocker-scriptlet-parsing-test
https://github.com/seia-soto/adblocker-scriptlet-parsing-test
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/seia-soto/adblocker-scriptlet-parsing-test
- Owner: seia-soto
- Created: 2024-11-01T06:25:35.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-01T06:40:56.000Z (about 2 months ago)
- Last Synced: 2024-11-01T07:22:20.022Z (about 2 months ago)
- Language: TypeScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.txt
Awesome Lists containing this project
README
This project compares scriptlet parsing capability in ghostery and ublock origin.
```
% pnpm sync
% pnpm build && pnpm start
```The above commands will install dependencies and generate a report to `result.md`.
Configurations:
You can configure filter to use in `src/lists.ts` by modifying `sources`.
`!#include` syntax (limitations apply) is supported and the caches will be saved in `filters` directory under current working directory.We don't guarantee of parsing `!#include` properly.
For entries with `http:` or `https:` prefix, they'll be treated as absolute urls.
For entries with `/` prefix, they'll be treated as absolute pathnames (retaining host).
For other entries, they'll be treated as relative pathnames.You can configure the script always to pull filters from internet.
Open `src/lists.txt` and set the default value of `ignoreCaches` in `useFilters` function to `true`.Distribution:
This project doesn't include any assets or dependencies, and the source code is distributed under MIT license.