add wildcard explanation

Sebastian Schmidt 2015-12-05 10:14:39 +10:00
parent 5bcd1ef5f7
commit 6b6cbef0d4

@ -37,6 +37,10 @@ The wildcard character `*` can be used to apply a filter to **all** URLs. This i
Usually, it is far more convenient to use [dynamic filtering rules](https://github.com/gorhill/uBlock/wiki/Dynamic-filtering) in lieu of such generic static filters.
##### Wildcard character `*`
For the Adblock Plus like wildcard character `*`, uBlock Origin uses `/*` instead. This is due to uBlocks ability to read HOSTS files where a filter like '@@*arrow.gif' is a valid hostname. So in this case use `@@/*arrow.gif` instead. The first filter will allow `http://some-arrow.gif` while the second filter will allow `http://anydomain.com/some-arrow.gif` See #997 for details.
##### Network filters options
`document` for _block_ filters: