JavaScript snippet to open popup window

Anyone have a snippet handy to open a non-Skuid popup window? I need to open a site in a separate browser window, but I don’t want it to be a tab like the redirect action.

Try the window.open(URL, name, specs) method. Making name equal to ‘_blank’ should ensure a new window.

For example, the following when run should open a new window the size of the current screen with google as the webpage of choice:

window.open(‘https://www.google.com’, ‘_blank’, ‘width=’ + screen.width + ‘,height=’ + screen.height);

Well, that was a lot simpler than I expected! I modified it to be so width and height were set to specific pixel amounts. Thanks for the help!