Is it possible to block end users from using Javascript to trigger events? [closed]
Want to improve this question? Update the question so it foc开发者_高级运维uses on one problem only by editing this post.
Closed 3 years ago.
Improve this questionAs an example, let's assume I want to prevent users from using auto-clickers. Is it possible, and are there accepted best practices when doing this?
Nope, it is not possible. Someone can always turn off JavaScript, modify it, run their own JS-code, etc, etc. JavaScript should never ever be used for security reasons.
However, for AJAX-requests you could implement a minimum interval server-side (like on Stack Overflow).
精彩评论