Hi There,
I am not sure of a way to check if the participant has several tabs open, but one thing you can do is make sure the experiment is in full screen mode and then check if they exit full screen mode and alert them. Something like this? detect_fullscr [PsychoPy]
files here: Rebecca Hirst / detect_full_screen_demo · GitLab
Hope this helps,
Becca