diff options
| author | Osmium Sorcerer <os@sof.beauty> | 2026-04-07 03:16:18 +0000 |
|---|---|---|
| committer | Osmium Sorcerer <os@sof.beauty> | 2026-04-18 16:52:23 +0000 |
| commit | ae7ef2c6c76947ea12cbb1592152d9c80fd1a8f3 (patch) | |
| tree | aafbf04224cb5eb8762a11eed3983dfa2e7d795d /public/client.html | |
| parent | 4bd750ca1f3e446f68e0f88fabf0682fd4d61848 (diff) | |
Remove defunct CAPTCHA
The hCaptcha integration has been abandoned for a while. It added yet
another questionable third-party API (which also set a Cloudflare
cookie), and its effectiveness is unclear considering its client-side
nature.
A custom CAPTCHA implementation (such as PoW challenge) is an
interesting prospect, but it'll require proper server-side support.
Diffstat (limited to 'public/client.html')
| -rw-r--r-- | public/client.html | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/public/client.html b/public/client.html index 5d862d8..a476915 100644 --- a/public/client.html +++ b/public/client.html @@ -36,13 +36,12 @@ <meta http-equiv="Content-Security-Policy" content=" - script-src-elem 'self' 'unsafe-inline' https://hcaptcha.com https://*.hcaptcha.com; + script-src-elem 'self' 'unsafe-inline'; style-src-elem 'self' 'unsafe-inline' https://golden-layout.com; - script-src 'self' 'unsafe-inline' 'unsafe-eval' https://hcaptcha.com https://*.hcaptcha.com; - style-src 'self' 'unsafe-inline' https://golden-layout.com https://hcaptcha.com https://*.hcaptcha.com; + script-src 'self' 'unsafe-inline' 'unsafe-eval'; + style-src 'self' 'unsafe-inline' https://golden-layout.com; img-src 'self' data: file: *; - frame-src https://hcaptcha.com https://*.hcaptcha.com; - connect-src 'self' ws: file: * https://hcaptcha.com https://*.hcaptcha.com; + connect-src 'self' ws: file: *; media-src 'self' file: *;" /> @@ -105,20 +104,6 @@ <div id="client_loading"> <h1 id="client_loadingtext">Loading</h1> </div> - <div id="client_secondfactor" style="display: none"> - <center> - <p>You seem to be new 👋</p> - <form method="POST"> - <div - class="h-captcha" - data-sitekey="6cbe7d73-706d-4e4b-9147-8b9aebb83b5d" - data-theme="dark" - data-callback="hcallback" - ></div> - <script src="https://js.hcaptcha.com/1/api.js" async defer></script> - </form> - </center> - </div> <div id="client_charselect"> <p>Choose your character</p> <button onclick="pickChar(-1)">Or spectate</button> |
