1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-05 11:37:01 +02:00

Updated How to whitelist a web site (markdown)

gorhill 2014-12-15 06:42:07 -08:00
parent 89ee99d2fb
commit 595782f984

@ -6,7 +6,15 @@ The feature is already available, it is the big power button: it serves to white
### Detailed syntax
As of version 0.8.2.0, the whitelisting syntax is as follow:
All whitelist directives are matched against the URL address of web pages.
As of version 0.8.2.0, the whitelist directive syntax is split into two classes:
- Plain
- Complex
Plain syntax is when using only hostname label(s), which means only the hostname portion of a URL will be taken into account.
Complex syntax occurs if and only if at least one `/` appears in a whitelist directive. Optionally, wildcard `*` can be used with complex directives for more flexibility.
#### Plain hostname