Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to check if user has enabled JS on page? - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
4y ago
•
9 replies
JulieCezar
How to check if user has enabled JS on page?
In NextJs
/ React how can I check if the user has enabled JS and display some kind of message or maybe even hide the whole site until it
's enabled
?
I tried
<noscript>You need to enabled JavaScript to use this site.</noscript>
<noscript>You need to enabled JavaScript to use this site.</noscript>
But it doesn
't really do anything no matter where I put it
.
.
.
Theo's Typesafe Cult
Join
26,564
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Check if page has been cached
TTC
Theo's Typesafe Cult / questions
3y ago
Where to check if user is owner
TTC
Theo's Typesafe Cult / questions
4y ago
How to check if type is array?
TTC
Theo's Typesafe Cult / questions
4y ago