"Please enable javascript" code wanted

SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
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
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

New: watch any domain
You can now watch domains on NamePros. We check each one and notify you when something changes. Search for a domain and press Watch on...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back