Opening a webpage in a new window from a button

I am trying to open a webpage in a new window by using a button in node red. I tried using this example: Opening external links using dashboard buttons (flow) - Node-RED

It's does open the links but it's not opening in a "new window". Is there something I can add to the code to make it open a new window?

Thanks,

Bob

Have you tried adding a target to the widow.open method Window: open() method - Web APIs | MDN

1 Like

Thanks for the reply. I'll do some research on that and give it a try.

Bob