JavaScript snippet to open popup window

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);