Unfortunately this code does not seem to work ![]()
My online experiment has an embedded survey with a participant information sheet, which participants can download if they want to (ethical requirement of my institution). If participants do download this information sheet, it opens a new tab, which in turn means the browser automatically leaves full screen mode.
When however the participants return to the “main” experiment after the survey, I need the experiment to automatically go back to full screen, and had hoped the code above (added to the start of the next routine) would work, but alas…..
I suppose if all else fails, I can do this: Tip - Add a “Go Full Screen” button to your Pavlovia online survey/experiment - Online experiments / Pavlovia Surveys - PsychoPy, but I would prefer to “force” this by code.
Is there any other code I could try? Thanks in advance for your help.