I would like to have a button that redirects to a given URL and opens in a new tab. How can this be done?
You can't. This behaviour is only available for plugins and can only be configured by the user.