amodm / webbrowser-rs

Rust library to open URLs in the web browsers available on a platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option to set target "_blank" on wasm

mvlabat opened this issue · comments

In most of my web applications, it would be more convenient to have target set to _blank.
It would be great to have that option, or probably it's even worth to consider it as a default behaviour.

Sorry, I've just realized open (https://developer.mozilla.org/en-US/docs/Web/API/Window/open) already behaves like that.