diff options
| author | Xe Iaso <me@xeiaso.net> | 2025-03-17 21:22:25 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2025-03-17 21:23:25 -0400 |
| commit | fcc448518667781609869d96ea322d8eb1cc7dce (patch) | |
| tree | ccdb43bba5cd364c73d3cac3a1c1e660a1352c4a | |
| parent | f42f5f509a33002cfec811d06d1b858608c17009 (diff) | |
| download | x-fcc448518667781609869d96ea322d8eb1cc7dce.tar.xz x-fcc448518667781609869d96ea322d8eb1cc7dce.zip | |
cmd/anubis: rephrase noscript warning
Closes #701
Signed-off-by: Xe Iaso <me@xeiaso.net>
| -rw-r--r-- | cmd/anubis/index.templ | 2 | ||||
| -rw-r--r-- | cmd/anubis/index_templ.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/anubis/index.templ b/cmd/anubis/index.templ index 189cf8b..304e5f5 100644 --- a/cmd/anubis/index.templ +++ b/cmd/anubis/index.templ @@ -143,7 +143,7 @@ templ index() { <script async type="module" src={ "/.within.website/x/cmd/anubis/static/js/main.mjs?cacheBuster=" + x.Version }></script> <div id="spinner" class="lds-roller"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div> <noscript> - <p>Sadly, you must enable JavaScript to get past this challenge. I would love to not have to do this, but god is dead and AI scrapers have destroyed the common good.</p> + <p>Sadly, you must enable JavaScript to get past this challenge. This is required because AI companies have changed the social contract around how website hosting works. A no-JS solution is a work-in-progress.</p> </noscript> <div id="testarea"></div> </div> diff --git a/cmd/anubis/index_templ.go b/cmd/anubis/index_templ.go index 4b400d1..491641f 100644 --- a/cmd/anubis/index_templ.go +++ b/cmd/anubis/index_templ.go @@ -149,7 +149,7 @@ func index() templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, "\"></script><div id=\"spinner\" class=\"lds-roller\"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div><noscript><p>Sadly, you must enable JavaScript to get past this challenge. I would love to not have to do this, but god is dead and AI scrapers have destroyed the common good.</p></noscript><div id=\"testarea\"></div></div>") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, "\"></script><div id=\"spinner\" class=\"lds-roller\"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div><noscript><p>Sadly, you must enable JavaScript to get past this challenge. This is required because AI companies have changed the social contract around how website hosting works. A no-JS solution is a work-in-progress.</p></noscript><div id=\"testarea\"></div></div>") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } |
