3 ms·
If you had to answer the question "Is JavaScript Disabled?", then <noscript> would have worked fine. But to answer the question "Is JavaScript Enabled?", you'd
by capableweb 5y ago
If you had to answer the question "Is JavaScript Disabled?", then <noscript> would have worked fine. But to answer the question "Is JavaScript Enabled?", you'd still have to have at least some amount of JavaScript code, as there is no <yesscript> tag (yet?)
- theandrewbailey 5y agoYou can have a stylesheet in the <noscript> that adds display: none to other parts of the page. But I get having javascript change the page not only answers if it's enabled, but working too.
- xd1936 5y agoI suppose that would be another solution, sure.