Skip to content

Commit dbf920a

Browse files
committed
Add NOT_VALIDATE hint
1 parent 7156c02 commit dbf920a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/general/ad-filtering/create-own-filters.md

+11
Original file line numberDiff line numberDiff line change
@@ -4928,6 +4928,17 @@ Except for AdGuard for Safari, AdGuard Content Blocker, and AdGuard for iOS, thi
49284928
||example.org^
49294929
```
49304930
4931+
#### `NOT_VALIDATE`
4932+
4933+
This hint is used to skip validation of the rule. It is useful for rules for which support has not yet been added to the filters compiler, or for rules that are incorrectly discarded.
4934+
4935+
**If you want to add a rule which should not be validated use the `NOT_VALIDATE` hint:**
4936+
4937+
```adblock
4938+
!+ NOT_VALIDATE
4939+
||example.org^$newmodifier
4940+
```
4941+
49314942
## How to debug filtering rules
49324943
49334944
It may be possible to create simple filtering rules "in your head" but for anything even slightly more complicated you will need additional tools to debug and iterate them. There are tools to assist you with that. You can use DevTools in Chrome and its analogs in other browsers but most AdGuard products provide another one — Filtering log.

0 commit comments

Comments
 (0)