Giter VIP home page Giter VIP logo

Comments (5)

seejohnrun avatar seejohnrun commented on June 23, 2024

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

from haste-server.

Kwpolska avatar Kwpolska commented on June 23, 2024

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

from haste-server.

mk-pmb avatar mk-pmb commented on June 23, 2024

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.

from haste-server.

github-actions avatar github-actions commented on June 23, 2024

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

from haste-server.

mk-pmb avatar mk-pmb commented on June 23, 2024

I still want this fixed.

from haste-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.