Answer the question
In order to leave comments, you need to log in
How to put stubs for old versions of browsers, disabled javascript and cookies?
Good afternoon! :)
Tell me how to put a stub for old versions of browsers, disabled javascript and cookies?
Answer the question
In order to leave comments, you need to log in
The two easiest ways:
< noscript /> the content of this tag will be displayed if js is disabled
+ add a no-js class to the tag, which is replaced (deleted?) by a different class when the page is loaded during initialization through js. Therefore, through css, display some kind of stub for the case with html.no-js, otherwise hidden.
As browser developers have repeatedly stated, you need to check features. There is document.cookie to check cookie
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question