How can I create a custom widget with links that won't be blocked?

I've made a custom widget with some buttons and added links to them but they are getting blocked with this error message:

Blocked opening '…' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set.

What do I have to do to make them work? Thanks.

Official comment


I'm Sergey from the YouTrack team.

You should specify capabilities.popups=true in the widget manifest as covered in the related documentation:

If you have any questions, please let me know. 

Thanks, that fixed my issue.

Thanks for the update.

Happy to hear that it helped!

Please sign in to leave a comment.