How use to use enable-javascript for your project?

The <noscript> tag

Include this code in your webpage.

<noscript>              
    <div style="position:fixed;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;">                    
        <p>This website requires JavaScript to function. Please enable it to browse on this website.</p>                    
        <br>                    
        <p>If you don't know what is JavaScript and/or you don't know how to enable it, please visit <a href="https://welpike.github.io/enable-javascript" style="text-decoration: underline;">https://welpike.github.io/enable-javascript</a>.</p>                    
    </div>         
</noscript>

More informations about the <noscript> tag : https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript.


URL params

This is the list of the params that you can add to the url (after /?) :

param values description
back 'historyback' (default), 'closetab' Managing back feature (when the user enabled JS and needs to go back to your website)
lang (soon) language abbreviation, default: 'en' Set the webpage language
theme (soon) theme name Customize webpage UI

Found a content problem on this page?

Go on the GitHub repository