Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What do I do if Javascript is disabled by a client?

Tags:

javascript

My site heavily depends upon Javascript and if I turn it off my website looks real ugly.

I want to force the user to use Javascript by show him a notification to turn it on, else prompt him that site can't be viewed.

What do I do to achieve this?

like image 287
TCM Avatar asked May 26 '10 09:05

TCM


People also ask

How do I fix JavaScript is disabled?

In the Internet Options window, click the Security tab. In the Security tab, click Custom Level button. Scroll down the list (close to the bottom) and locate Active Scripting. Select Disable, Enable, or Prompt to adjust your JavaScript settings.

What happens if JavaScript is disabled?

Javascript is enabled in your web browser. If you disable JavaScript, this text will change.


1 Answers

Have a look here:

noscript tag

All you can do is test that javascript is turned on or not, and show a notification that the site is best viewed with javascript turned on.

like image 133
jaywon Avatar answered Sep 28 '22 00:09

jaywon