Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)]
[+...]
```