开发者

Is it possible to block end users from using Javascript to trigger events? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.

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 question

As 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).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜