Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seia-soto/filters2autoconsent
Adblocker filter-like syntax to autoconsent rules and test suites
https://github.com/seia-soto/filters2autoconsent
Last synced: about 12 hours ago
JSON representation
Adblocker filter-like syntax to autoconsent rules and test suites
- Host: GitHub
- URL: https://github.com/seia-soto/filters2autoconsent
- Owner: seia-soto
- License: mpl-2.0
- Created: 2024-01-02T01:20:50.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-02-01T06:48:01.000Z (11 months ago)
- Last Synced: 2024-11-05T16:57:48.681Z (about 2 months ago)
- Language: TypeScript
- Size: 60.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# filters2autoconsent
Adblocker filter-like syntax to [autoconsent](https://github.com/duckduckgo/autoconsent) rules and test suites.
## Usage
```
--file, f
Specifies input file--out, -o
Specifies output file--pretty, p
Prettify output JSON
```- If no `file` specified, the program will use the input from `stdin`.
- If no `output` specified, the program will print to `stdout`.## Syntax
```
domain.tld##selector[$option1][,option2=value][, ...]
-selector:action(args)
[-selector:action(args):chainedAction(args)]
[-...]
+selector:action(args)
[+selector:action(args):chainedAction(args)]
[+...]
```