Since many websites already implement their own input fields, I see one solution: implement the entire keyboard in JavaScript
/s
/s
It has been there or a long time, so I kinda consider it a remnant of the old battle against keylogger, since the number position changes. It does seem outdated now, and I'm unsure if it's still useful compared to all the other possible checks they could implement.