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

Updated Filter syntax extensions (markdown)

Raymond Hill 2015-09-06 12:20:13 -04:00
parent 3f79645f39
commit 90327f1093

@ -4,17 +4,19 @@ uBlock supports most of [Adblock Plus filter syntax](https://adblockplus.org/en/
`document` for _exception_ filters (those prefixed with `@@`):
Not supported. The purpose of the `document` option is to disable uBlock completely. The reason it is not supported is to be sure that users explicitly disable uBlock themselves if they wish (through [whitelisting](https://github.com/gorhill/uBlock/wiki/How-to-whitelist-a-web-site)), not having some external filter list decide for them.
Not supported. The purpose of the `document` option when used with an exception filter is to disable uBlock Origin completely.
The reason it is not supported is to be sure that users explicitly disable uBlock themselves if they wish (through [whitelisting](https://github.com/gorhill/uBlock/wiki/How-to-whitelist-a-web-site)), not having some external filter list decide for them.
### Extended syntax
uBlock extends Adblock Plus filter syntax.
uBlock Origin extends Adblock Plus filter syntax.
#### Network filters
`document` for block filters:
`document` for _block_ filters:
This will cause web pages which match the filter to be subjected to strict blocking.
This will cause web pages which match the filter to be subjected to [strict blocking](https://github.com/gorhill/uBlock/wiki/Quick-guide:-popup-user-interface#no-strict-blocking).
`first-party`: