Keep your current view when opening attachments and external links – they’ll open in a new tab
On this page:
This is a very small and simple add-on. Just install the add-on and all external URLs and attachments in the attachment list open in a new browser tab.
Optionally you can define a CSS class, which will be added to every external URL and attachment link element in Confluence. This gives you the possibility to configure another display style for such links in the Confluence Stylesheets.
External Link Plugin (Documentation)