Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

degrade gracefully for non javascript enabled browsers #17

Open
johtso opened this issue Jan 19, 2012 · 5 comments
Open

degrade gracefully for non javascript enabled browsers #17

johtso opened this issue Jan 19, 2012 · 5 comments
Labels

Comments

@johtso
Copy link

johtso commented Jan 19, 2012

Currently the text just doesn't appear.

@seejohnrun
Copy link
Contributor

Cool - I'll get this in place.
As a temporary workaround, if you want to view one, add /raw before the haste key
Thanks! - JC

@Kwpolska
Copy link

Kwpolska commented Nov 6, 2015

How hard is this? Can’t you just use a <noscript> tag?

@mk-pmb
Copy link

mk-pmb commented Oct 31, 2017

Noscript tags are a bad idea because they're too often abused for "Please enable advertisement" messages and also they don't cover the case where JS is enabled but failed.

I thus prefer the approach of showing the no-JS version until JS successfully initialized. There's this empty

<pre id="box" style="display:none;" class="hljs" tabindex="0"><code></code></pre>

, how about we just put a link to the raw version there until the JS is ready?
We could even put the actual raw code there to save the extra request roundtrip.

@github-actions
Copy link

github-actions bot commented Mar 8, 2022

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Mar 8, 2022
@mk-pmb
Copy link

mk-pmb commented Mar 8, 2022

I still want this fixed.

@filipechagas filipechagas added triage and removed stale labels Mar 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants