I would like to have a button that redirects to a given URL and opens in a new tab. How can this be done?
In javascript you can do:
window.open(url, "_blank");