Want to open a link in a new browser tab

Stefan Fuhrmann February 19, 2019

Hello,

 

I want to link a new page in my conflúence but the new page should open in a new browser tab?

3 answers

1 vote
Fabienne Gerhard
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 19, 2019

Hi Stefan - welcome to this wonderful community

if you want all hyperlinks to be opened in a new browser tab you can do this:

  • go to Admin -> Costum html
  • In the At end of the HEAD field insert this:
    <script>
    jQuery(document).ready(function() {
    jQuery(".external-link").attr("target", "_blank");
    });
    </script>
  • also see documentation

Worked perfect for me!

0 votes
Stefan Fuhrmann February 21, 2019

Hi,

so I Need to be admin.

I only have Project lead rights.

So I m not able to edit custom.html

I thought I onky add a Parameter to the link e g (Http://www.xxx.de /XYZ) I want to embed.

 

regards Stefan

Fabienne Gerhard
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 21, 2019

Hi @Stefan Fuhrmann - do you know if html-macro is enabled in your system? If so you could put the link in the macro like this

<a href="http://www.xxx.de" target="_blank"> Link </a>
Stefan Fuhrmann February 21, 2019

makro.PNG

 

Thanks for answering Fabienne,

No, don't seem so.

Fabienne Gerhard
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 21, 2019

Hi @Stefan Fuhrmann  - damn I can't think of another solution. I see you're using HideElements :) Love this one

Maybe you can ask your admin to enable html macro or costum html for your space. Shouldn't be too hard ;)

0 votes
Deleted user February 19, 2019

Hi @Stefan Fuhrmann -

Have you reviewed the option provided on this Atlassian KB page for forcing links to open in a new window? Here is a Resolved ticket with Atlassian that you may be interested in reviewing. This is an option if you were to be an Admin.

Also, would you be open to trying an add-on here?

Thanks

Kalyani

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events