Prevent user from log in when JavaScript is off
-
Hey,
I have the following problem. For some features at my site JavaScript is necessary. But as anybody knows, you can switch off JS at the browser.
I checked other community pages how the handle that. For a lot of webpages it is not possible to log in if JavaScript is switched off. With UserRegistration you can. How can I change that and prevent users from log in if JS is switched off? And tell him something like that “hey, please enable JS to use all features”…
Furthermore a user can switch off JS during the session. May I use a script like that, see here
https://stackoverflow.com/questions/121203/how-to-detect-if-javascript-is-disabled
and embed that in the UserReg to log him out immediately if that happens?
The topic ‘Prevent user from log in when JavaScript is off’ is closed to new replies.