Window.open() Not working in Web Developer JS

Whenever I try to use a window.open("url") inside of the web development studio, it doesn’t work. I can type it, but inside the actual site, it doesn’t execute at all.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-sandbox

In the editor, the preview disables some features, including opening popups. You might have better luck using the “preview in new window” option.

I am using the in new window.