Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How do I set an external link to auto open in a new tab?

When I embed links it opens in the current tab. I am building an onboarding resource page, it would be nice if people could open multiple resources without having to go back and forth or using the right-click. We are all on MacBook, some of our windows folks get frustrated with "right-clicking" on the touchpad. 

1 answer


You have some options:

1- Go to Confluence Administration and add the following script to  Custom HTML

jQuery(document).ready(function() {
    jQuery(".wiki-content a").attr("target", "_blank");

2 - You could enable confluence HTML Macro or install Bob Swift Atlassian Add-ons - HTML

and add your link at this way:




There are some other questions answered in the following posts, check them for more info:

Like Ansar Rezaei likes this

Feel free to ask if you have any other questions.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events