Open browser from plugin

Hi everyone,

Is there a way to open a browser new tab from a plugin ? I tried something like window.open('http://google.com', '_blank') but it doesn’t work.

Thanks

I know that clicking a link with _blank attribute works, so maybe try to click an <a> element with JS? Not sure why window open wouldn’t work, this may even be considered a bug.

It’s ok. It was because I tried it on the code.ts. On the html it works fine.