According to this question, and the first answer How to simulate a click with JavaScript? , it is possible to simulate a click/focus on a form field on the client side.
I am wondering if there is a way to block the ability of a client-side simulated field focus/click, while still allowing a 'human-click/focus'. The technique should be able to block a form field click/focus, and/or a submit button click. The technique should be 'general-purpose', effective in blocking any client-side automated focus/click other than by an actual human.
The purpose is to block a client-side attack on a form on a site. I don't want to implement a "I'm not a robot" type reCaptcha.
Any ideas?