-
-
Notifications
You must be signed in to change notification settings - Fork 134
Syntax
Collin M. Barrett edited this page Nov 27, 2021
·
20 revisions
Dataset : Syntax.json
Syntax : A named set of rules that govern the format of a FilterList
| Property | Description | Required | Unique | Sorted By |
|---|---|---|---|---|
description |
Brief English description of the syntax | |||
id |
Incrementing integer | X | X | Primary |
name |
Name | X | X | |
url |
URL to definition |
Examples
| Syntax Name | Example Rules |
|---|---|
| Hosts (localhost) |
127.0.0.1 example.com0.0.0.0 example.com::1 example.com
|
| Domains | example.com |
| Adblock Plus | example.com##.example |
| Adblocker-syntax domains | ||example.com^ |
| uBlock Origin Regular |
example.com##div:has(example)example.com##.example:style(height: 0px !important)
|
| AdGuard | example.com#$#.example { height: 0px !important } |
| uMatrix / uBlock Origin Dynamic | _ example.com script |
| URLs | https://www.example.com/ |
| IPs (Singular or singular+range) | 123.45.67.89 |
| Tracking Protection List (IE) | -d example.com /example/ |
| Nano Adblocker Static | example.com##+js(nanop-easy-set-cookie.js, __example=true) |
| MinerBlock | *://*.example.com/* |
| Non-localhost hosts | 123.45.67.89 example.com |
| IPs (Range-only) | 12.34.56.78-123.45.67.89 |
| Domains with wildcards | *.example.com |
| uBlock Origin scriptlet injection | example.com##+js(abort-current-inline-script.js, Example) |
| Privoxy action file | .example.com |
| dnsmasq domains list | address=/example.com/127.0.0.1 |
| Little Snitch subscription-style rules | { |
| uBlock Origin !#include-tag compilation | !#include ExampleList.txt |
| Unix-format hosts.deny file | ALL: 123.45.67.89 |
| RPZ | example.com CNAME . |
| BIND | zone "example.com" { type master; notify no; file "null.zone.file"; }; |
| Unbound |
local-zone: "example.com" redirectlocal-data: "example.com A 0.0.0.0"
|
| Windows command line script | echo 0.0.0.0 example.com >> %hostspath% |