From b70fe2a52bd8e5cb9770d9069fe75a1b2ac176a4 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Tue, 2 Dec 2025 16:19:29 +0100 Subject: [PATCH] [tutorial v1.1_114] xxx --- foxyproxy/00-foxyproxy.yml | 101 +++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) diff --git a/foxyproxy/00-foxyproxy.yml b/foxyproxy/00-foxyproxy.yml index 97123de0..d8cfaaaf 100644 --- a/foxyproxy/00-foxyproxy.yml +++ b/foxyproxy/00-foxyproxy.yml @@ -35,4 +35,105 @@ proxies: {%- endfor -%} description: random color value auto_save: true + + address: + description: IP address, DNS name, server name + type: domainname + params: + allow_ip: true + allow_without_dot: true + default: + jinja: >- + {% if firefox.manual.http_proxy.address is not propertyerror %} + {{ firefox.manual.http_proxy.address }} + {% endif %} + description: copy HTTP address if proxy is not "Manual" + disabled: + jinja: |- + {% if _.type not in ['HTTP', 'HTTPS/SSL', 'SOCKS4', 'SOCKS5'] %} + disabled + {% endif %} + description: |- + if type not in: + - HTTP + - HTTPS/SSL + - SOCKS4 + - SOCKS5 + + port: + description: Port + type: port + default: + jinja: >- + {% if firefox.manual.http_proxy.port is not propertyerror %} + {{ firefox.manual.http_proxy.port }} + {% endif %} + description: copy HTTP port if proxy is not "Manual" + disabled: + jinja: |- + {% if _.type not in ['HTTP', 'HTTPS/SSL', 'SOCKS4', 'SOCKS5'] %} + disabled + {% endif %} + description: |- + if type not in: + - HTTP + - HTTPS/SSL + - SOCKS4 + - SOCKS5 + + username: + description: Username + type: unix_user + mandatory: + jinja: |- + {% if _.password is not propertyerror and _.password %} + username is mandatory + {% endif %} + description: if a password is set + disabled: + jinja: |- + {% if _.type not in ['HTTP', 'HTTPS/SSL', 'SOCKS4', 'SOCKS5'] %} + disabled + {% endif %} + description: |- + if type not in: + - HTTP + - HTTPS/SSL + - SOCKS4 + - SOCKS5 + + password: + description: Password + type: secret + mandatory: false + disabled: + jinja: |- + {% if _.type not in ['HTTP', 'HTTPS/SSL', 'SOCKS4', 'SOCKS5'] %} + disabled + {% endif %} + description: |- + if type not in: + - HTTP + - HTTPS/SSL + - SOCKS4 + - SOCKS5 + + url: + description: URL + type: web_address + default: + jinja: >- + {% if firefox.auto is not propertyerror %} + {{ firefox.auto }} + {% endif %} + description: copy HTTP address if proxy is "Auto" + disabled: + jinja: |- + {% if _.type not in ['PAC URL', 'WPAD'] %} + proxy does not need url + {% endif %} + description: |- + if type is not in: + - PAC URL + - WPAD ...