From 3480f51397b72ca13adc14f9ae940c051d479d82 Mon Sep 17 00:00:00 2001 From: gwarser Date: Sat, 21 Mar 2020 14:50:45 +0100 Subject: [PATCH] WIP/draft, please write anything you can think of. --- Syntax-quirks.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Syntax-quirks.md diff --git a/Syntax-quirks.md b/Syntax-quirks.md new file mode 100644 index 0000000..879c633 --- /dev/null +++ b/Syntax-quirks.md @@ -0,0 +1,7 @@ +- Filters match on word boundaries unless explicitly wildcarded - https://github.com/uBlockOrigin/uBlock-issues/issues/954#issuecomment-602041890 +- Looking-like-domain filters match only in domain part of URL - [HOST optimiztion](./Static-filter-syntax#hosts-files) +- Negated domains in cosmetic filters work like exception (TODO: compare with ABP). +- One filter can be counted as many, [exmple](./Static-filter-syntax#badfilter) +- `$document` work only as [blocking filter](./Static-filter-syntax#document-for-entire-page-exception) +- generic cosmetic filters don't work in Shadow Dom - https://github.com/uBlockOrigin/uBlock-issues/issues/803 +- popup filters will not close pages opened by direct user action - https://github.com/uBlockOrigin/uBlock-issues/issues/774