CreativeCoding 23 Light Poster

How do I make it so that if the webpage requires you to open a new tab, it would open in the same window instead?