1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-04 18:19:38 +02:00

!#if false

gwarser 2019-08-28 14:19:15 +02:00
parent 5b55c91548
commit 6a7d384d4a

@ -85,15 +85,19 @@ For the time being, only a single token is supported in a `!#if` directive (can
env_firefox
env_mobile
env_safari
false (1.21.9b7)
cap_html_filtering
cap_user_stylesheet
Tip: since `ext_ublock` is always true in uBO, you can use a `!#if` directive to disable a large block of your filters without having to remove them:
Starting from [1.21.9b7](https://github.com/gorhill/uBlock/commit/1d805fb9da1aad918d02cc74796d5aa5e974b184) you can use `!#if false` directive to disable a large block of your filters without having to remove them.
!#if !ext_ublock
!#if false
...
!#endif
Before this version, you could use negated `ext_ublock`, since this token is always true in uBO.
## Extended syntax
uBO extends Adblock Plus filter syntax.