From 00b394cfd6be1fad467de1d743e01db34db8702d Mon Sep 17 00:00:00 2001 From: gorhill Date: Mon, 15 Dec 2014 06:53:00 -0800 Subject: [PATCH] Updated How to whitelist a web site (markdown) --- How-to-whitelist-a-web-site.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/How-to-whitelist-a-web-site.md b/How-to-whitelist-a-web-site.md index 3d0bab8..2d29584 100644 --- a/How-to-whitelist-a-web-site.md +++ b/How-to-whitelist-a-web-site.md @@ -8,14 +8,17 @@ The feature is already available, it is the big power button: it serves to white 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: +As of version 0.8.2.0, the whitelist directive syntax is split into three classes: - Plain - Complex +- Comment Plain syntax is when using only hostname label(s), which means only the hostname portion of a URL will be taken into account. With plain syntax, the matching is performed by comparing the right-most portion of the page hostname with the whitelist directive. Wildcards are not allowed when using plain syntax. 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. +A comment is a line prefixed with `#`. Comments are ignored by µBlock. + If no `/` appears in a whitelist directive, and if the directive contains characters which are not allowed for plain hostname, then the whitelist directive will be commented out and ignored by µBlock. #### Plain hostname