Good afternoon, please tell me how to behave if you still find such a user with JS disabled, I assume two scenarios:

  1. Just display a message about the need to enable JS, instructions on how to do this, download and install a new browser (if the user uses IE6)
  2. It is necessary to ensure minimal functionality.

The fact is that almost all the content on the pages I output using ng-repeat directives. How to be in this situation? Thanks in advance for your answers!

  • angular is js-framework, if js is disabled - angular will not work at all - Grundy

2 answers 2

It is unlikely in our time an ordinary user surfing the Internet with disabled JavaScript, because It’s hard to imagine popular sites now. But even if so, then most likely the user knows what he is doing.

To calm your conscience, you can use the noscript tag, which displays its content if JavaScript is disabled or not supported. Add somewhere in the index.html code like this:

 <noscript> Чтобы страница могла отобразиться правильно, необходим JavaScript. По-видимому, JavaScript либо отключен, либо не поддерживается вашим браузером. </noscript> 

    Use the tag noscript , it is just for this and invented.