diff options
| author | Robert Günzler <r@gnzler.io> | 2025-09-07 17:32:13 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2025-09-25 12:56:47 +0200 |
| commit | 0bb17cd2f34918add1ddaedeb0a66531dea561a3 (patch) | |
| tree | f1d3a825273c8a2ab3e804876328bd3f1a939f68 /bundles/go-away/files/config/snippets/challenges-non-js.yml | |
| parent | 332d333fa24c8b1943799aadb017f61e642008e1 (diff) | |
go-away: use config.yml and vendor all configuration files
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'bundles/go-away/files/config/snippets/challenges-non-js.yml')
| -rw-r--r-- | bundles/go-away/files/config/snippets/challenges-non-js.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/bundles/go-away/files/config/snippets/challenges-non-js.yml b/bundles/go-away/files/config/snippets/challenges-non-js.yml new file mode 100644 index 0000000..b8aff89 --- /dev/null +++ b/bundles/go-away/files/config/snippets/challenges-non-js.yml @@ -0,0 +1,28 @@ +challenges: + # Challenges with a cookie, self redirect (non-JS, requires HTTP parsing) + cookie: + runtime: "cookie" + + # Challenges with a redirect via Link header with rel=preload and early hints (non-JS, requires HTTP parsing, fetching and logic) + # Works on HTTP/2 and above! + preload-link: + condition: '"Sec-Fetch-Mode" in headers && headers["Sec-Fetch-Mode"] == "navigate"' + runtime: "preload-link" + parameters: + preload-early-hint-deadline: 2s + + # Challenges with a redirect via Refresh header (non-JS, requires HTTP parsing and logic) + header-refresh: + runtime: "refresh" + parameters: + refresh-via: "header" + + # Challenges with a redirect via Refresh meta (non-JS, requires HTML parsing and logic) + meta-refresh: + runtime: "refresh" + parameters: + refresh-via: "meta" + + # Challenges with loading a random CSS or image document (non-JS, requires HTML parsing and logic) + resource-load: + runtime: "resource-load" \ No newline at end of file |