Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> This all seems absurd to me, it's been much easier to just write a one-liner inline script to hook blur, focus, visibilitychange, and onkeydown and log the userid when the event happens.

If you're curious, this is exactly what Canvas does to detect foul play (although they don't advertise it for that, it just goes into the log)[0][1]. Schools don't think it's good enough, so they spend thousands on these more invasive solutions.

[0]: https://community.canvaslms.com/t5/Instructor-Guide/How-do-I... [1]: https://github.com/instructure/canvas-lms/blob/master/public...



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: