Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
Squashed commit of the following:

commit 6278848
Merge: 7035dab c6c8cbe
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Fri Jul 12 17:19:03 2024 +0300

    Merge branch 'master' into fix/readme-002

commit 7035dab
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Mon Jul 8 20:29:28 2024 +0300

    update readme
  • Loading branch information
slavaleleka committed Jul 12, 2024
1 parent c6c8cbe commit 673aca3
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ Please note, that in order to achieve cross-blocker compatibility, we also suppo
```

- `domains` — optional, a list of domains where the rule should be applied;
- `name` — required, a name of the scriptlet from AdGuard's scriptlets library;
- `arguments` — optional, a list of `String` arguments (no other types of arguments are supported).
- `name` — required, a name of the scriptlet from AdGuard Scriptlets library;
- `arguments` — optional, a list of `string` arguments (no other types of arguments are supported).

> **Remarks**
>
Expand All @@ -100,12 +100,13 @@ Please note, that in order to achieve cross-blocker compatibility, we also suppo
#### <a name="scriptlet-syntax--exceptions"></a> Exception rules

```text
[domains]#@%#//scriptlet([name])
[domains]#@%#//scriptlet([name[, arguments]])
```

- `domains` — optional, a list of domains where the rule should be applied;
- `name` — optional, a name of the scriptlet to except from the applying.
If not set, all scriptlets will not be applied.
- `name` — optional, a name of the scriptlet to except from the applying;
if not set, all scriptlets will not be applied;
- `arguments` — optional, a list of `string` arguments to match the same blocking rule and disable it.

#### Examples

Expand Down

0 comments on commit 673aca3

Please sign in to comment.