diff --git a/firefox/55-proxy_dns_socks5.yml b/firefox/55-proxy_dns_socks5.yml index 2dbe9d1c..0f1a65f1 100644 --- a/firefox/55-proxy_dns_socks5.yml +++ b/firefox/55-proxy_dns_socks5.yml @@ -4,12 +4,16 @@ version: 1.1 proxy_dns_socks5: description: Use proxy DNS when using SOCKS v5 + mode: advanced default: false disabled: jinja: |- - {{ _.manual.socks_proxy.version is propertyerror or _.manual.socks_proxy.version == 'v4' }} - return_type: boolean + {% 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 "_.proxy_mode" is not "Manual proxy configuration" - or "_.manual.socks_proxy.version" is "v4" + if "firefox.proxy_mode" is not "Manual proxy configuration" + or "firefox.manual.socks_proxy.version" is "v4" ...