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!


3 answers

1 accepted

Resolved, to Custom HTML just insert that:

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


1 vote
Peter Koczan Atlassian Team Jun 24, 2013


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:

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,


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,


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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

874 views 21 10
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