3 ms·
> 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 us
by easton 6y ago
> 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-view-a-quiz-log-for-a-student/ta-p/580 https://community.canvaslms.com/t5/Instructor-Guide/How-do-I...
[1]: https://github.com/instructure/canvas-lms/blob/master/public/javascripts/quizzes/quiz_taking_police.js https://github.com/instructure/canvas-lms/blob/master/public...