A
A
Alexander Lashchevsky2015-11-18 22:11:52
PHP
Alexander Lashchevsky, 2015-11-18 22:11:52

Is it possible to find out if JS is enabled on the server side?

When generating an html page, I would like to understand whether scripts are allowed to be executed in the client's browser and, depending on this, generate this or that code. How to do it?

<noscript>does not provide any flexibility.

This is how it is with large sites, for example Google, depending on whether JS is enabled or not, issue either one or a completely different code. How to track it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2015-11-18
@dmitrydeco

noscript /noscript Display
a message only.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question