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

This widget could not be displayed.

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
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

284 views 2 4
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