-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add noscript #27
Comments
I think a warning stating to enable js would be enough. |
Personally, I’d prefer at least the name of the application & a short description of what it does (usually there is a meta description for this anyhow). If just says “Please enable JavaScript”, my response would be: for what? What will I get to see when I enable it? |
You're right. I should clarify my point: I think the website doesn't have to work without javascript and just inform the user. |
There are currently no plans to support non-javascript clients. |
No JS would be ideal for this sort of thing IMO, but that’s this project’s call to make. However, the bare minimum of a |
Sounds good! Could you make a PR that would satisfy what you'd expect?
…On Mon, Oct 30, 2023, 19:27 toastal ***@***.***> wrote:
No JS would be ideal for this sort of thing IMO, but that’s this project’s
call to make.
However, the bare minimum of a <noscript> with *some* message should be
added.
—
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA63A3D32PTTQSWP5A3RQ3YB75RJAVCNFSM6AAAAAA6TBQLOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBVHA4TSNZRGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I don’t understand the code base with no HTML files & mustache files that aren’t obvious to me. But would expect something along the lines of: <html lang="en">
<head>
<title>Flakestry<!-- This is missing; it confusingly says “Elm Land” --></title>
<meta name="description" content="A place to find, install, and publish Nix Flakes">
<body>
<noscript>
<article class="AddWrapperClassHere ScriptBlockersWon’tUseClassFromNoscriptElement">
<header>
<h1>Flakestry<h1>
<p>Find, Install, & Publish <a href="https://nix.dev/concepts/flakes/">Nix Flakes</a>.</p>
</header>
<section>
<p>
The Flakestry service requires JavaScript to be enabled.
<a href="https://www.enable-javascript.com/en/">See these instructions</a> on how to enable in your browser.
Alternatively, you may need to add an exception to your script blocker.
</p>
</section>
</article>
</noscript> |
For privacy/security I allowlist sites to enable JavaScript. When I visited the site, I got a blank white page with no information.
The text was updated successfully, but these errors were encountered: