1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-16 15:33:38 +01:00

WIP/draft, please write anything you can think of.

gwarser 2020-03-21 14:50:45 +01:00
parent 92805f8966
commit 3480f51397

7
Syntax-quirks.md Normal file

@ -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