1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-28 21:57:12 +02: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 `@@`): `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 ### Extended syntax
uBlock extends Adblock Plus filter syntax. uBlock Origin extends Adblock Plus filter syntax.
#### Network filters #### 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`: `first-party`: