Enabling HTML Macro

Hello, community. Do I understand it right, that if I want to embed some JavaScript in a confluence page, I have to ask our confluence administrator to activate usage of HTML Macros? And if it is activated, any user of our confluence would be able to place own javascripts on any confluence page?

Is there no possibility to restrict usage of JavaScript or HTML Macros to a restricted set of confluence users?

Kind regards


2 answers

1 accepted

Enabling the HTML macro isn't a big deal. This would be the way to include javascript on pages. Yes any user can use javascript on pages, but if your confluence site isn't public then what is main concern here? 99% of users are not going to do any HTML or javascript at all.

I don't think you can restrict the usage of a macro with permissions. I honestly don't think there is a need for that anyway. There are worse things that someone can do in confluence with the right permission than including a little javascript.

HTML Plugin for Confluence provides a HTML Macro that can be controlled by Macro Security for Confluence which can limit who is allowed to create content with the macro.

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

372 views 20 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