[tutorial 077] Jinja calculation for an hidden variable with a potential inaccessible varible
This commit is contained in:
parent
a8fe847d22
commit
9c61e428ab
1 changed files with 10 additions and 0 deletions
|
@ -2,3 +2,13 @@
|
|||
proxy_dns_socks5:
|
||||
description: Use proxy DNS when using SOCKS v5
|
||||
default: false
|
||||
disabled:
|
||||
jinja: |
|
||||
{% if manual.socks_proxy.version is propertyerror %}
|
||||
the proxy mode is not manual
|
||||
{% elif manual.socks_proxy.version == 'v4' %}
|
||||
socks version is v4
|
||||
{% endif %}
|
||||
description: |
|
||||
if "firefox.proxy_mode" is not "Manual proxy configuration"
|
||||
or "firefox.manual.socks_proxy.version" is "v4"
|
||||
|
|
Loading…
Reference in a new issue