Where can one write code to control Application Navigator links? (target=_blank)

Hi folks, does anyone know where to add code (Javascript or otherwise) to control the Application Navigator? We have a few links that we'd like to force to open in a new tab if possible.

It seems that the "Custom HTML" option in the admin console affects pages and blogs, but not the Application Navigator.

Thanks for any advice,

Joe

1 answer

Joe,

If you inspect element on any of these links do they have a common css class?

You may be able to use the jQuery in to following KB to filter for those classes instead of ".external-link"

https://confluence.atlassian.com/display/CONFKB/How+to+Force+Links+to+Open+in+a+New+Window

Daniel, thanks for the suggested KB article.

Strange that it's not working, right? I deleted my javascript, then copied and pasted from the KB article. After I saved and refreshed the page, the Application Navigator links worked the same as before (not openining in a new tab).

I then inspected the elements and saw that the a href class for all of the Application Navigator links is .aui-dropdown2-radio so I tried this as well, but no luck.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,298 views 25 10
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you