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

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 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

479 views 19 9
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