I want to prevent my current tab to create another tab. For example, I'm a proctor in a examination and I want my students to take my exam honestly without creating new tab or taking cheats in other exams.
CodePudding user response:
Not sure about what you ask specifically, however, you can tell if they exit the tab with an answer here: Javascript to detect if user changes tab