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
Accepted answer

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
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,525 views 25 14
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