Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

"Please enable javascript" code wanted

SpaceshipSpaceship
SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Watch
Hi Guys,

I'm looking for some code to test if javascript is enabled in the browser, and display a "this website requires javascript, please enable javascript and reload" message.

Anyone have something simple for this? I've tried searching google but the results are polluted and nothing relevant comes up.
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
HTML:
<noscript>JavaScript is turned off in your web browser. Turn it on, then refresh the page.</noscript>
 
1
Close
HTML:
<noscript>JavaScript is turned off in your web browser. Turn it on, then refresh the page.</noscript>

hey, that worked perfectly. Really simple too. Thanks a lot for the quick help :)

EDIT: Rep added :)
 
Last edited:
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back