[tutorial v1.1_077] Jinja calculation for an hidden variable with a potential inaccessible varible

This commit is contained in:
egarette@silique.fr 2025-11-09 18:57:57 +01:00
parent 4c3d367801
commit 99b1ee7e05

View file

@ -2,5 +2,17 @@
--- ---
version: 1.1 version: 1.1
proxy_dns_socks5: false # Use proxy DNS when using SOCKS v5 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"
... ...