Replace the tree with upstream TecharoHQ/anubis v1.28.2 (a1384fbf42e3). Masyunis customizations are re-applied in the following commits.
17 lines
575 B
YAML
17 lines
575 B
YAML
- name: "reduce-weight-dillo"
|
|
action: WEIGH
|
|
weight:
|
|
adjust: -10 # dillo does not have JS and can solve metarefresh
|
|
expression:
|
|
all:
|
|
- '"Accept" in headers'
|
|
- '"Accept-Encoding" in headers'
|
|
- 'headers["Accept-Encoding"].contains("gzip")'
|
|
- 'headers["Accept-Encoding"].contains("deflate")'
|
|
- 'headers["Accept-Encoding"].contains("br")'
|
|
- '"Dnt" in headers'
|
|
- '"X-Http-Protocol" in headers'
|
|
- 'headers["X-Http-Protocol"] == "HTTP/1.1"'
|
|
- userAgent.startsWith("Dillo/")
|
|
- '!userAgent.contains("Mozilla")'
|