[tutorial v1.1_190] Various variables
This commit is contained in:
parent
c2c4aeb93a
commit
14bf458b05
1 changed files with 61 additions and 0 deletions
|
|
@ -34,4 +34,65 @@ proxies:
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
description: random color value
|
description: random color value
|
||||||
auto_save: true
|
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: |-
|
||||||
|
{{ _.type not in ['HTTP', 'HTTPS/SSL', 'SOCKS4', 'SOCKS5'] }}
|
||||||
|
return_type: boolean
|
||||||
|
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: |-
|
||||||
|
{{ _.type not in ['HTTP', 'HTTPS/SSL', 'SOCKS4', 'SOCKS5'] }}
|
||||||
|
return_type: boolean
|
||||||
|
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: |-
|
||||||
|
{{ _.type not in ['PAC URL', 'WPAD'] }}
|
||||||
|
return_type: boolean
|
||||||
|
description: |-
|
||||||
|
if type is not in:
|
||||||
|
- PAC URL
|
||||||
|
- WPAD
|
||||||
...
|
...
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue