I need to check if the user has javascript enabled and, if not, send it to the page where it is written in big red letters that you need to enable javascript.

    1 answer 1

    Use the <noscript> . Example here

    • This is a bit not what I need. But it will go. I did in the main container style = "visibility: hidden" and hung up on the body loading handler, which shows the container. Thus, if javascript is disabled, the main container is not displayed, but <nonscript> is displayed. - DmitryBLR