Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

537 views 15 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you