How to disable pop-up viewing?

Hi there,

i have question. Is possible to disable opo-up windows? I mean that, when i open a new blog post in pop-up, i can redirect everywhere. And that is bad for security reasons.

Thank you!

Ales

3 answers

1 accepted

0 votes
Answer accepted

Resolved, to Custom HTML just insert that:

<script>
jQuery(document).ready(function() {
    jQuery(".external-link").attr("target", "_blank");
});

:)

1 vote
Peter Koczan Atlassian Team Jun 24, 2013

Hi,

If an user can navigate to different websites in a new window, they will be able to do the same in the original window as well.

However, you may want to try the tip here: https://confluence.atlassian.com/display/CONFKB/How+to+Force+Links+to+Open+in+a+New+Window

This is for forcing links opening in new window, but if you replace _blank with _self I believe it should have the effect you are looking for.

Kind regards,

Peter

0 votes
Peter Koczan Atlassian Team Jun 24, 2013

Hi Ales,

Can you explain a bit on how popups breach security? Maybe understanding the whole approach would help to find a proper solution for the issue.

Kind regards,

Peter

Hi Peter,

On Dashboard, user can click to show blog post in new window. And there he can visit links etc.. But here is chance to access on somewebsites, where can be something wrong... So is it possible to disable opening blog post in new windows?

Thank You

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,256 views 2 13
Read article

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