3 ms·
This would have been an excellent use of a <noscript> tag, but there is none :(
by theandrewbailey 5y ago
This would have been an excellent use of a <noscript> tag, but there is none :(
- capableweb 5y agoIf 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.