mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-15 23:42:28 +02:00
!#if false
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_firefox
|
||||||
env_mobile
|
env_mobile
|
||||||
env_safari
|
env_safari
|
||||||
|
false (1.21.9b7)
|
||||||
cap_html_filtering
|
cap_html_filtering
|
||||||
cap_user_stylesheet
|
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
|
!#endif
|
||||||
|
|
||||||
|
Before this version, you could use negated `ext_ublock`, since this token is always true in uBO.
|
||||||
|
|
||||||
|
|
||||||
## Extended syntax
|
## Extended syntax
|
||||||
|
|
||||||
uBO extends Adblock Plus filter syntax.
|
uBO extends Adblock Plus filter syntax.
|
||||||
|
Loading…
Reference in New Issue
Block a user