Prevents Canvas from detecting tab switching during quizzes or exams, maintaining focus on the Canvas page.