It would be great for Linking to provide an option to open in a new window/tab. (Or is there already a way to do this?)
It's impossible to open a new tab without a link with the target.
Sure? I think it's possible with window.open?
https://stackoverflow.com/questions/14132122/open-url-in-new-window-with-javascript
Window, not tab. Remember it's restricted because of popups.
Window, not tab. Remember it's restricted because of popups.
You are right. I formulated it wrong, it should be open in new tab.
It's impossible. The user has to click to a link. Browsers require that.
It's impossible. The user has to click to a link. Browsers require that.
window.open second argument is target, if I use that with "_blank" it opens in a new tab (at least in Chrome)
Could this solve this issue?
Most helpful comment
window.opensecond argument is target, if I use that with"_blank"it opens in a new tab (at least in Chrome)