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