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

0 votes
Accepted answer

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 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,


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 Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

469 views 3 18
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