How does a server know if the client's webview can load Javascript?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



How does a server know if the client's webview can load Javascript?



I understand that Android's webview has javascript disabled by default, and an app developer can enable it with setJavaScriptEnabled(true). As a server delivering content to such webviews, how can I check if javascript is enabled in a particular webview in order to provide richer content?





take a look here: stackoverflow.com/questions/121203/…
– agDev
Aug 13 at 3:04





maybe set a cookie with js and on the next page load check if the cookie was there, if not, then you know js is disabled stackoverflow.com/a/121259/5549391
– agDev
Aug 13 at 3:06









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

How to determine optimal route across keyboard