I am trying to prepare a Node.js application which serves as an online exam portal. I want to capture any switching tabs action and show warning prompts in system and provide appropriate warnings for the same inside my application.
It will be good if I can record such activities in a log file for each user.
Can you suggest me an idea for implementing this ?